org.mockito.listeners
public interface InvocationListener
MockSettings.invocationListeners(InvocationListener...)
.Modifier and Type | Method and Description |
---|---|
void |
reportInvocation(MethodInvocationReport methodInvocationReport)
Called after the invocation of the listener's mock if it returned normally.
|
void reportInvocation(MethodInvocationReport methodInvocationReport)
Exceptions caused by this invocationListener will raise a MockitoException
.
methodInvocationReport
- Information about the method call that just happened.MethodInvocationReport