Uses of Interface
org.mockito.invocation.MatchableInvocation
-
Packages that use MatchableInvocation Package Description org.mockito.internal.invocation Invocation machinery and related classes.org.mockito.internal.reporting Deals with nicely printing verification errors.org.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 finished.org.mockito.internal.verification.checkers Verification checkers. -
-
Uses of MatchableInvocation in org.mockito.internal.invocation
Classes in org.mockito.internal.invocation that implement MatchableInvocation Modifier and Type Class Description classInvocationMatcherIn addition to all content of the invocation, the invocation matcher contains the argument matchers.Fields in org.mockito.internal.invocation declared as MatchableInvocation Modifier and Type Field Description private MatchableInvocationInvocationsFinder.RemoveNotMatching. wantedMethods in org.mockito.internal.invocation with parameters of type MatchableInvocation Modifier and Type Method Description static java.util.List<Invocation>InvocationsFinder. findAllMatchingUnverifiedChunks(java.util.List<Invocation> invocations, MatchableInvocation wanted, InOrderContext orderingContext)static InvocationInvocationsFinder. findFirstMatchingUnverifiedInvocation(java.util.List<Invocation> invocations, MatchableInvocation wanted, InOrderContext context)static java.util.List<Invocation>InvocationsFinder. findInvocations(java.util.List<Invocation> invocations, MatchableInvocation wanted)static java.util.List<Invocation>InvocationsFinder. findMatchingChunk(java.util.List<Invocation> invocations, MatchableInvocation 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,1static InvocationInvocationsFinder. findSimilarInvocation(java.util.List<Invocation> invocations, MatchableInvocation wanted)private static java.util.List<Invocation>InvocationsFinder. getFirstMatchingChunk(MatchableInvocation wanted, java.util.List<Invocation> unverified)static voidInvocationMarker. markVerified(java.util.List<Invocation> invocations, MatchableInvocation wanted)static voidInvocationMarker. markVerified(Invocation invocation, MatchableInvocation wanted)static voidInvocationMarker. markVerifiedInOrder(java.util.List<Invocation> chunk, MatchableInvocation wanted, InOrderContext context)Constructors in org.mockito.internal.invocation with parameters of type MatchableInvocation Constructor Description RemoveNotMatching(MatchableInvocation wanted) -
Uses of MatchableInvocation in org.mockito.internal.reporting
Methods in org.mockito.internal.reporting with parameters of type MatchableInvocation Modifier and Type Method Description private static booleanSmartPrinter. isMultiLine(MatchableInvocation wanted, java.util.List<Invocation> allActualInvocations)java.lang.StringPrintSettings. print(MatchableInvocation invocation)Constructors in org.mockito.internal.reporting with parameters of type MatchableInvocation Constructor Description SmartPrinter(MatchableInvocation wanted, java.util.List<Invocation> allActualInvocations, java.lang.Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo)SmartPrinter(MatchableInvocation wanted, Invocation actual, java.lang.Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo) -
Uses of MatchableInvocation in org.mockito.internal.stubbing
Classes in org.mockito.internal.stubbing that implement MatchableInvocation Modifier and Type Class Description classStubbedInvocationMatcherFields in org.mockito.internal.stubbing declared as MatchableInvocation Modifier and Type Field Description private MatchableInvocationInvocationContainerImpl. invocationForStubbingMethods in org.mockito.internal.stubbing that return MatchableInvocation Modifier and Type Method Description MatchableInvocationInvocationContainerImpl. getInvocationForStubbing()Methods in org.mockito.internal.stubbing with parameters of type MatchableInvocation Modifier and Type Method Description voidInvocationContainerImpl. resetInvocationForPotentialStubbing(MatchableInvocation invocationMatcher)voidInvocationContainerImpl. setInvocationForPotentialStubbing(MatchableInvocation invocation)voidInvocationContainerImpl. setMethodForStubbing(MatchableInvocation invocation)Constructors in org.mockito.internal.stubbing with parameters of type MatchableInvocation Constructor Description StubbedInvocationMatcher(Answer answer, MatchableInvocation invocation, Strictness strictness) -
Uses of MatchableInvocation in org.mockito.internal.verification
Methods in org.mockito.internal.verification that return MatchableInvocation Modifier and Type Method Description MatchableInvocationVerificationDataImpl. getTarget() -
Uses of MatchableInvocation in org.mockito.internal.verification.api
Fields in org.mockito.internal.verification.api declared as MatchableInvocation Modifier and Type Field Description private MatchableInvocationVerificationDataInOrderImpl. wantedMethods in org.mockito.internal.verification.api that return MatchableInvocation Modifier and Type Method Description MatchableInvocationVerificationData. getTarget()The target or wanted invocation.MatchableInvocationVerificationDataInOrder. getWanted()MatchableInvocationVerificationDataInOrderImpl. getWanted()Constructors in org.mockito.internal.verification.api with parameters of type MatchableInvocation Constructor Description VerificationDataInOrderImpl(InOrderContext inOrder, java.util.List<Invocation> allInvocations, MatchableInvocation wanted) -
Uses of MatchableInvocation in org.mockito.internal.verification.checkers
Methods in org.mockito.internal.verification.checkers with parameters of type MatchableInvocation Modifier and Type Method Description static voidAtLeastXNumberOfInvocationsChecker. checkAtLeastNumberOfInvocations(java.util.List<Invocation> invocations, MatchableInvocation wanted, int wantedCount)static voidAtLeastXNumberOfInvocationsChecker. checkAtLeastNumberOfInvocations(java.util.List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext orderingContext)static voidMissingInvocationChecker. checkMissingInvocation(java.util.List<Invocation> invocations, MatchableInvocation wanted)static voidMissingInvocationChecker. checkMissingInvocation(java.util.List<Invocation> invocations, MatchableInvocation wanted, InOrderContext context)static voidNumberOfInvocationsChecker. checkNumberOfInvocations(java.util.List<Invocation> invocations, MatchableInvocation wanted, int wantedCount)static voidNumberOfInvocationsChecker. checkNumberOfInvocations(java.util.List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context)static voidNumberOfInvocationsChecker. checkNumberOfInvocationsNonGreedy(java.util.List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context)
-