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 AssertionErrorReporter.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 TypeClassDescriptionclassIn 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 InvocationInvocationsFinder.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 InvocationInvocationsFinder.findSimilarInvocation(List<Invocation> invocations, MatchableInvocation wanted) static voidInvocationMarker.markVerified(List<Invocation> invocations, MatchableInvocation wanted) static voidInvocationMarker.markVerified(Invocation invocation, MatchableInvocation wanted) static voidInvocationMarker.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 TypeMethodDescriptionvoidInvocationContainerImpl.resetInvocationForPotentialStubbing(MatchableInvocation invocationMatcher) voidInvocationContainerImpl.setInvocationForPotentialStubbing(MatchableInvocation invocation) voidInvocationContainerImpl.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 voidAtLeastXNumberOfInvocationsChecker.checkAtLeastNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount) static voidAtLeastXNumberOfInvocationsChecker.checkAtLeastNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext orderingContext) static voidMissingInvocationChecker.checkMissingInvocation(List<Invocation> invocations, MatchableInvocation wanted) static voidMissingInvocationChecker.checkMissingInvocation(List<Invocation> invocations, MatchableInvocation wanted, InOrderContext context) static voidNumberOfInvocationsChecker.checkNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount) static voidNumberOfInvocationsChecker.checkNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context) static voidNumberOfInvocationsChecker.checkNumberOfInvocationsNonGreedy(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context)