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 VerificationEvent
public VerificationMode getMode()
getMode
in interface VerificationEvent
VerificationMode
that was used.public VerificationData getData()
getData
in interface VerificationEvent
VerificationData
that was verified on.public Throwable getVerificationError()
VerificationEvent
getVerificationError
in interface VerificationEvent
Copyright © 2020. All rights reserved.