public class VerificationEventImpl extends Object implements VerificationEvent
| Constructor and Description |
|---|
VerificationEventImpl(Object mock,
VerificationMode mode,
VerificationData data,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
VerificationData |
getData() |
Object |
getMock() |
VerificationMode |
getMode() |
Throwable |
getVerificationError()
A nullable Throwable if it is null, the verification succeeded,
otherwise the throwable contains the cause of why the verification failed.
|
public VerificationEventImpl(Object mock, VerificationMode mode, VerificationData data, Throwable cause)
public Object getMock()
getMock in interface VerificationEventpublic VerificationMode getMode()
getMode in interface VerificationEventVerificationMode that was used.public VerificationData getData()
getData in interface VerificationEventVerificationData that was verified on.public Throwable getVerificationError()
VerificationEventgetVerificationError in interface VerificationEventCopyright © 2024. All rights reserved.