Package org.mockito.internal.debugging
Class LoggingListener
java.lang.Object
org.mockito.internal.debugging.LoggingListener
- All Implemented Interfaces:
FindingsListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddOrderedList(List<String> target, List<String> additions) voidfoundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed) voidfoundUnstubbed(InvocationMatcher unstubbed) voidfoundUnusedStub(Invocation unused) (package private) static intindexOfNextPair(int collectionSize)
-
Field Details
-
warnAboutUnstubbed
private final boolean warnAboutUnstubbed -
argMismatchStubs
-
unusedStubs
-
unstubbedCalls
-
-
Constructor Details
-
LoggingListener
public LoggingListener(boolean warnAboutUnstubbed)
-
-
Method Details
-
foundStubCalledWithDifferentArgs
- Specified by:
foundStubCalledWithDifferentArgsin interfaceFindingsListener
-
indexOfNextPair
static int indexOfNextPair(int collectionSize) -
foundUnusedStub
- Specified by:
foundUnusedStubin interfaceFindingsListener
-
foundUnstubbed
- Specified by:
foundUnstubbedin interfaceFindingsListener
-
getStubbingInfo
-
addOrderedList
-