|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockito.internal.debugging.VerboseMockInvocationLogger
public class VerboseMockInvocationLogger
Logs all invocations to standard output. Used for debugging interactions with a mock.
| Constructor Summary | |
|---|---|
VerboseMockInvocationLogger()
|
|
VerboseMockInvocationLogger(java.io.PrintStream printStream)
|
|
| Method Summary | |
|---|---|
void |
reportInvocation(MethodInvocationReport methodInvocationReport)
Called after the invocation of the listener's mock if it returned normally. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VerboseMockInvocationLogger()
public VerboseMockInvocationLogger(java.io.PrintStream printStream)
| Method Detail |
|---|
public void reportInvocation(MethodInvocationReport methodInvocationReport)
InvocationListener
Exceptions caused by this invocationListener will raise a MockitoException.
reportInvocation in interface InvocationListenermethodInvocationReport - 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 | |||||||||