Uses of Class
org.mockito.internal.invocation.InvocationMatcher
-
Packages that use InvocationMatcher Package Description org.mockito.internal.debugging Whatever helps in debugging failed testsorg.mockito.internal.invocation Invocation and related classes.org.mockito.internal.reporting Deals with nicely printing verification errorsorg.mockito.internal.stubbing Stubbing logic.org.mockito.internal.verification Verification logic.org.mockito.internal.verification.api This package should be open to public once verification API is fully finishedorg.mockito.internal.verification.checkers verification checkers -
-
Uses of InvocationMatcher in org.mockito.internal.debugging
Methods in org.mockito.internal.debugging with parameters of type InvocationMatcher Modifier and Type Method Description void
FindingsListener. foundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed)
void
LoggingListener. foundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed)
void
FindingsListener. foundUnstubbed(InvocationMatcher unstubbed)
void
LoggingListener. foundUnstubbed(InvocationMatcher unstubbed)
-
Uses of InvocationMatcher in org.mockito.internal.invocation
Methods in org.mockito.internal.invocation that return InvocationMatcher Modifier and Type Method Description InvocationMatcher
MatchersBinder. bindMatchers(ArgumentMatcherStorage argumentMatcherStorage, Invocation invocation)
Methods in org.mockito.internal.invocation that return types with arguments of type InvocationMatcher Modifier and Type Method Description static java.util.List<InvocationMatcher>
InvocationMatcher. createFrom(java.util.List<Invocation> invocations)
Methods in org.mockito.internal.invocation with parameters of type InvocationMatcher Modifier and Type Method Description boolean
ArgumentsComparator. argumentsMatch(InvocationMatcher invocationMatcher, java.lang.Object[] actualArgs)
boolean
ArgumentsComparator. argumentsMatch(InvocationMatcher invocationMatcher, Invocation actual)
java.util.List<Invocation>
InvocationsFinder. findAllMatchingUnverifiedChunks(java.util.List<Invocation> invocations, InvocationMatcher wanted, InOrderContext orderingContext)
Invocation
InvocationsFinder. findFirstMatchingUnverifiedInvocation(java.util.List<Invocation> invocations, InvocationMatcher wanted, InOrderContext context)
java.util.List<Invocation>
InvocationsFinder. findInvocations(java.util.List<Invocation> invocations, InvocationMatcher wanted)
java.util.List<Invocation>
InvocationsFinder. findMatchingChunk(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context)
some examples how it works: Given invocations sequence: 1,1,2,1 if wanted is 1 and mode is times(2) then returns 1,1 if wanted is 1 and mode is atLeast() then returns 1,1,1 if wanted is 1 and mode is times(x), where x != 2 then returns 1,1,1Invocation
InvocationsFinder. findSimilarInvocation(java.util.List<Invocation> invocations, InvocationMatcher wanted)
-
Uses of InvocationMatcher in org.mockito.internal.reporting
Methods in org.mockito.internal.reporting with parameters of type InvocationMatcher Modifier and Type Method Description java.lang.String
PrintSettings. print(InvocationMatcher invocationMatcher)
Constructors in org.mockito.internal.reporting with parameters of type InvocationMatcher Constructor Description SmartPrinter(InvocationMatcher wanted, Invocation actual, java.lang.Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo)
-
Uses of InvocationMatcher in org.mockito.internal.stubbing
Subclasses of InvocationMatcher in org.mockito.internal.stubbing Modifier and Type Class Description class
StubbedInvocationMatcher
Methods in org.mockito.internal.stubbing that return InvocationMatcher Modifier and Type Method Description InvocationMatcher
InvocationContainerImpl. getInvocationForStubbing()
Methods in org.mockito.internal.stubbing with parameters of type InvocationMatcher Modifier and Type Method Description void
InvocationContainerImpl. resetInvocationForPotentialStubbing(InvocationMatcher invocationMatcher)
void
InvocationContainerImpl. setInvocationForPotentialStubbing(InvocationMatcher invocation)
void
InvocationContainerImpl. setMethodForStubbing(InvocationMatcher invocation)
Constructors in org.mockito.internal.stubbing with parameters of type InvocationMatcher Constructor Description StubbedInvocationMatcher(InvocationMatcher invocation, Answer answer)
-
Uses of InvocationMatcher in org.mockito.internal.verification
Methods in org.mockito.internal.verification that return InvocationMatcher Modifier and Type Method Description InvocationMatcher
VerificationDataImpl. getWanted()
Constructors in org.mockito.internal.verification with parameters of type InvocationMatcher Constructor Description VerificationDataImpl(InvocationContainer invocations, InvocationMatcher wanted)
-
Uses of InvocationMatcher in org.mockito.internal.verification.api
Methods in org.mockito.internal.verification.api that return InvocationMatcher Modifier and Type Method Description InvocationMatcher
VerificationData. getWanted()
InvocationMatcher
VerificationDataInOrder. getWanted()
InvocationMatcher
VerificationDataInOrderImpl. getWanted()
Constructors in org.mockito.internal.verification.api with parameters of type InvocationMatcher Constructor Description VerificationDataInOrderImpl(InOrderContext inOrder, java.util.List<Invocation> allInvocations, InvocationMatcher wanted)
-
Uses of InvocationMatcher in org.mockito.internal.verification.checkers
Methods in org.mockito.internal.verification.checkers with parameters of type InvocationMatcher Modifier and Type Method Description void
AtLeastXNumberOfInvocationsChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount)
void
AtLeastXNumberOfInvocationsInOrderChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount)
void
MissingInvocationChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted)
void
MissingInvocationInOrderChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, VerificationMode mode, InOrderContext context)
void
NonGreedyNumberOfInvocationsInOrderChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context)
void
NumberOfInvocationsChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount)
void
NumberOfInvocationsInOrderChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context)
-