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 voidFindingsListener. foundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed)voidLoggingListener. foundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed)voidFindingsListener. foundUnstubbed(InvocationMatcher unstubbed)voidLoggingListener. 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 InvocationMatcherMatchersBinder. 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 booleanArgumentsComparator. argumentsMatch(InvocationMatcher invocationMatcher, java.lang.Object[] actualArgs)booleanArgumentsComparator. argumentsMatch(InvocationMatcher invocationMatcher, Invocation actual)java.util.List<Invocation>InvocationsFinder. findAllMatchingUnverifiedChunks(java.util.List<Invocation> invocations, InvocationMatcher wanted, InOrderContext orderingContext)InvocationInvocationsFinder. 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,1InvocationInvocationsFinder. 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.StringPrintSettings. 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 classStubbedInvocationMatcherMethods in org.mockito.internal.stubbing that return InvocationMatcher Modifier and Type Method Description InvocationMatcherInvocationContainerImpl. getInvocationForStubbing()Methods in org.mockito.internal.stubbing with parameters of type InvocationMatcher Modifier and Type Method Description voidInvocationContainerImpl. resetInvocationForPotentialStubbing(InvocationMatcher invocationMatcher)voidInvocationContainerImpl. setInvocationForPotentialStubbing(InvocationMatcher invocation)voidInvocationContainerImpl. 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 InvocationMatcherVerificationDataImpl. 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 InvocationMatcherVerificationData. getWanted()InvocationMatcherVerificationDataInOrder. getWanted()InvocationMatcherVerificationDataInOrderImpl. 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 voidAtLeastXNumberOfInvocationsChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount)voidAtLeastXNumberOfInvocationsInOrderChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount)voidMissingInvocationChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted)voidMissingInvocationInOrderChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, VerificationMode mode, InOrderContext context)voidNonGreedyNumberOfInvocationsInOrderChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context)voidNumberOfInvocationsChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount)voidNumberOfInvocationsInOrderChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context)
-