Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD