Uses of Interface
org.mockito.invocation.MatchableInvocation
Packages that use MatchableInvocation
Package
Description
Invocation machinery and related classes.
Deals with nicely printing verification errors.
Stubbing logic.
Verification logic.
This package should be open to public once verification API is fully finished.
Verification checkers.
-
Uses of MatchableInvocation in org.mockito.internal.exceptions
Methods in org.mockito.internal.exceptions with parameters of type MatchableInvocationModifier and TypeMethodDescriptionstatic AssertionError
Reporter.argumentsAreDifferent
(Invocation actualInvocation, MatchableInvocation matchableInvocation, String wanted, List<String> actualCalls, List<Location> actualLocations) -
Uses of MatchableInvocation in org.mockito.internal.invocation
Classes in org.mockito.internal.invocation that implement MatchableInvocationModifier and TypeClassDescriptionclass
In addition to all content of the invocation, the invocation matcher contains the argument matchers.Methods in org.mockito.internal.invocation with parameters of type MatchableInvocationModifier and TypeMethodDescriptionstatic List
<Invocation> InvocationsFinder.findAllMatchingUnverifiedChunks
(List<Invocation> invocations, MatchableInvocation wanted, InOrderContext orderingContext) static Invocation
InvocationsFinder.findFirstMatchingUnverifiedInvocation
(List<Invocation> invocations, MatchableInvocation wanted, InOrderContext context) static List
<Invocation> InvocationsFinder.findInvocations
(List<Invocation> invocations, MatchableInvocation wanted) static List
<Invocation> InvocationsFinder.findMatchingChunk
(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 Invocation
InvocationsFinder.findSimilarInvocation
(List<Invocation> invocations, MatchableInvocation wanted) static void
InvocationMarker.markVerified
(List<Invocation> invocations, MatchableInvocation wanted) static void
InvocationMarker.markVerified
(Invocation invocation, MatchableInvocation wanted) static void
InvocationMarker.markVerifiedInOrder
(List<Invocation> chunk, MatchableInvocation wanted, InOrderContext context) -
Uses of MatchableInvocation in org.mockito.internal.reporting
Methods in org.mockito.internal.reporting with parameters of type MatchableInvocationConstructors in org.mockito.internal.reporting with parameters of type MatchableInvocationModifierConstructorDescriptionSmartPrinter
(MatchableInvocation wanted, List<Invocation> allActualInvocations, Integer[] indexesOfMatchersToBeDescribedWithExtraTypeInfo, Set<String> classNamesToBeDescribedWithFullName) SmartPrinter
(MatchableInvocation wanted, Invocation actual, Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo) -
Uses of MatchableInvocation in org.mockito.internal.stubbing
Classes in org.mockito.internal.stubbing that implement MatchableInvocationMethods in org.mockito.internal.stubbing with parameters of type MatchableInvocationModifier and TypeMethodDescriptionvoid
InvocationContainerImpl.resetInvocationForPotentialStubbing
(MatchableInvocation invocationMatcher) void
InvocationContainerImpl.setInvocationForPotentialStubbing
(MatchableInvocation invocation) void
InvocationContainerImpl.setMethodForStubbing
(MatchableInvocation invocation) Constructors in org.mockito.internal.stubbing with parameters of type MatchableInvocationModifierConstructorDescriptionStubbedInvocationMatcher
(Answer answer, MatchableInvocation invocation, Strictness strictness) -
Uses of MatchableInvocation in org.mockito.internal.verification
Methods in org.mockito.internal.verification that return MatchableInvocation -
Uses of MatchableInvocation in org.mockito.internal.verification.api
Methods in org.mockito.internal.verification.api that return MatchableInvocationModifier and TypeMethodDescriptionVerificationData.getTarget()
The target or wanted invocation.VerificationDataInOrder.getWanted()
VerificationDataInOrderImpl.getWanted()
Constructors in org.mockito.internal.verification.api with parameters of type MatchableInvocationModifierConstructorDescriptionVerificationDataInOrderImpl
(InOrderContext inOrder, 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 MatchableInvocationModifier and TypeMethodDescriptionstatic void
AtLeastXNumberOfInvocationsChecker.checkAtLeastNumberOfInvocations
(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount) static void
AtLeastXNumberOfInvocationsChecker.checkAtLeastNumberOfInvocations
(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext orderingContext) static void
MissingInvocationChecker.checkMissingInvocation
(List<Invocation> invocations, MatchableInvocation wanted) static void
MissingInvocationChecker.checkMissingInvocation
(List<Invocation> invocations, MatchableInvocation wanted, InOrderContext context) static void
NumberOfInvocationsChecker.checkNumberOfInvocations
(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount) static void
NumberOfInvocationsChecker.checkNumberOfInvocations
(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context) static void
NumberOfInvocationsChecker.checkNumberOfInvocationsNonGreedy
(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context)