Package org.mockito.listeners
Interface VerificationListener
- All Superinterfaces:
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
Modifier and TypeMethodDescriptionvoid
onVerification
(VerificationEvent verificationEvent) Called after a verification happened.
-
Method Details
-
onVerification
Called after a verification happened. This includes verifications that fail due to the verification mode failing.- Parameters:
verificationEvent
- the event that occurred.
-