Uses of Class
org.mockito.internal.invocation.InvocationMatcher
Packages that use InvocationMatcher
Package
Description
Whatever helps in debugging failed tests
Invocation 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 InvocationMatcher in org.mockito.internal.debugging
Methods in org.mockito.internal.debugging with parameters of type InvocationMatcherModifier and TypeMethodDescriptionvoid
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 InvocationMatcherModifier and TypeMethodDescriptionMatchersBinder.bindMatchers
(ArgumentMatcherStorage argumentMatcherStorage, Invocation invocation) Methods in org.mockito.internal.invocation that return types with arguments of type InvocationMatcherModifier and TypeMethodDescriptionstatic List<InvocationMatcher>
InvocationMatcher.createFrom
(List<Invocation> invocations) Methods in org.mockito.internal.invocation with parameters of type InvocationMatcherModifier and TypeMethodDescriptionboolean
ArgumentsComparator.argumentsMatch
(InvocationMatcher invocationMatcher, Object[] actualArgs) boolean
ArgumentsComparator.argumentsMatch
(InvocationMatcher invocationMatcher, Invocation actual) InvocationsFinder.findAllMatchingUnverifiedChunks
(List<Invocation> invocations, InvocationMatcher wanted, InOrderContext orderingContext) InvocationsFinder.findFirstMatchingUnverifiedInvocation
(List<Invocation> invocations, InvocationMatcher wanted, InOrderContext context) InvocationsFinder.findInvocations
(List<Invocation> invocations, InvocationMatcher wanted) InvocationsFinder.findMatchingChunk
(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,1InvocationsFinder.findSimilarInvocation
(List<Invocation> invocations, InvocationMatcher wanted) -
Uses of InvocationMatcher in org.mockito.internal.reporting
Methods in org.mockito.internal.reporting with parameters of type InvocationMatcherConstructors in org.mockito.internal.reporting with parameters of type InvocationMatcherModifierConstructorDescriptionSmartPrinter
(InvocationMatcher wanted, Invocation actual, Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo) -
Uses of InvocationMatcher in org.mockito.internal.stubbing
Subclasses of InvocationMatcher in org.mockito.internal.stubbingMethods in org.mockito.internal.stubbing that return InvocationMatcherMethods in org.mockito.internal.stubbing with parameters of type InvocationMatcherModifier and TypeMethodDescriptionvoid
InvocationContainerImpl.resetInvocationForPotentialStubbing
(InvocationMatcher invocationMatcher) void
InvocationContainerImpl.setInvocationForPotentialStubbing
(InvocationMatcher invocation) void
InvocationContainerImpl.setMethodForStubbing
(InvocationMatcher invocation) Constructors in org.mockito.internal.stubbing with parameters of type InvocationMatcherModifierConstructorDescriptionStubbedInvocationMatcher
(InvocationMatcher invocation, Answer answer) -
Uses of InvocationMatcher in org.mockito.internal.verification
Methods in org.mockito.internal.verification that return InvocationMatcherConstructors in org.mockito.internal.verification with parameters of type InvocationMatcherModifierConstructorDescriptionVerificationDataImpl
(InvocationContainer invocations, InvocationMatcher wanted) -
Uses of InvocationMatcher in org.mockito.internal.verification.api
Methods in org.mockito.internal.verification.api that return InvocationMatcherModifier and TypeMethodDescriptionVerificationData.getWanted()
VerificationDataInOrder.getWanted()
VerificationDataInOrderImpl.getWanted()
Constructors in org.mockito.internal.verification.api with parameters of type InvocationMatcherModifierConstructorDescriptionVerificationDataInOrderImpl
(InOrderContext inOrder, 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 InvocationMatcherModifier and TypeMethodDescriptionvoid
AtLeastXNumberOfInvocationsChecker.check
(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) void
AtLeastXNumberOfInvocationsInOrderChecker.check
(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) void
MissingInvocationChecker.check
(List<Invocation> invocations, InvocationMatcher wanted) void
MissingInvocationInOrderChecker.check
(List<Invocation> invocations, InvocationMatcher wanted, VerificationMode mode, InOrderContext context) void
NonGreedyNumberOfInvocationsInOrderChecker.check
(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context) void
NumberOfInvocationsChecker.check
(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) void
NumberOfInvocationsInOrderChecker.check
(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context)