InvocationListener
public class VerboseMockInvocationLogger extends java.lang.Object implements InvocationListener
Constructor | Description |
---|---|
VerboseMockInvocationLogger() |
|
VerboseMockInvocationLogger(java.io.PrintStream printStream) |
Modifier and Type | Method | Description |
---|---|---|
void |
reportInvocation(MethodInvocationReport methodInvocationReport) |
Called after the invocation of the listener's mock if it returned normally.
|
public VerboseMockInvocationLogger()
public VerboseMockInvocationLogger(java.io.PrintStream printStream)
public void reportInvocation(MethodInvocationReport methodInvocationReport)
InvocationListener
Exceptions caused by this invocationListener will raise a MockitoException
.
reportInvocation
in interface InvocationListener
methodInvocationReport
- Information about the method call that just happened.MethodInvocationReport