InvocationListener
Date: 2015-09-18

org.mockito.listeners

## Interface InvocationListener

- All Known Implementing Classes:
    VerboseMockInvocationLogger

      public interface InvocationListener

  This listener can be notified of method invocations on a mock. For this to happen, it must be registered using `MockSettings.invocationListeners(InvocationListener...)`.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `reportInvocation(MethodInvocationReport methodInvocationReport)` Called after the invocation of the listener's mock if it returned normally.

- - ### Method Detail

    - #### reportInvocation

          void reportInvocation(MethodInvocationReport methodInvocationReport)

      Called after the invocation of the listener's mock if it returned normally.

      Exceptions caused by this invocationListener will raise a `MockitoException`.

      Parameters:
        `methodInvocationReport` - Information about the method call that just happened.
      See Also:
        `MethodInvocationReport`