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

    Modifier and Type
    Method
    Description
    void
    onVerification(VerificationEvent verificationEvent)
    Called after a verification happened.
  • Method Details

    • 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.