Package org.mockito.listeners
Interface VerificationListener
-
- All Superinterfaces:
MockitoListener
public interface VerificationListener extends MockitoListener
This listener can be notified of verify invocations on a mock.For this to happen, it must be registered using
MockingProgress.addListener(MockitoListener)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onVerification(VerificationEvent verificationEvent)
Called after a verification happened.
-
-
-
Method Detail
-
onVerification
void onVerification(VerificationEvent verificationEvent)
Called after a verification happened. This includes verifications that fail due to the verification mode failing.- Parameters:
verificationEvent
- the event that occurred.
-
-