Package org.mockito.verification
Interface VerificationEvent
-
public interface VerificationEvent
Contains all information about a verification that has happened.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.mockito.internal.verification.api.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.
-
-
-
Method Detail
-
getMock
Object getMock()
- Returns:
- The mock that a verification happened on.
-
getMode
VerificationMode getMode()
- Returns:
- the
VerificationMode
that was used.
-
getData
org.mockito.internal.verification.api.VerificationData getData()
- Returns:
- the
VerificationData
that was verified on.
-
getVerificationError
Throwable getVerificationError()
A nullable Throwable if it is null, the verification succeeded, otherwise the throwable contains the cause of why the verification failed.- Returns:
- null or the error.
-
-