org.mockito.internal.debugging
Class LoggingListener

java.lang.Object
  extended by org.mockito.internal.debugging.LoggingListener
All Implemented Interfaces:
FindingsListener

public class LoggingListener
extends java.lang.Object
implements FindingsListener


Constructor Summary
LoggingListener(boolean warnAboutUnstubbed, MockitoLogger logger)
           
 
Method Summary
 void foundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed)
           
 void foundUnstubbed(InvocationMatcher unstubbed)
           
 void foundUnusedStub(Invocation unused)
           
 MockitoLogger getLogger()
           
 boolean isWarnAboutUnstubbed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingListener

public LoggingListener(boolean warnAboutUnstubbed,
                       MockitoLogger logger)
Method Detail

foundStubCalledWithDifferentArgs

public void foundStubCalledWithDifferentArgs(Invocation unused,
                                             InvocationMatcher unstubbed)
Specified by:
foundStubCalledWithDifferentArgs in interface FindingsListener

foundUnusedStub

public void foundUnusedStub(Invocation unused)
Specified by:
foundUnusedStub in interface FindingsListener

foundUnstubbed

public void foundUnstubbed(InvocationMatcher unstubbed)
Specified by:
foundUnstubbed in interface FindingsListener

isWarnAboutUnstubbed

public boolean isWarnAboutUnstubbed()

getLogger

public MockitoLogger getLogger()