|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
void reportInvocation(MethodInvocationReport methodInvocationReport)
Exceptions caused by this invocationListener will raise a MockitoException
.
methodInvocationReport
- Information about the method call that just happened.MethodInvocationReport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |