Uses of Interface
org.mockito.internal.verification.api.InOrderContext
Packages that use InOrderContext
Package
Description
Internal classes, not to be used by clients.
Invocation machinery and related classes.
Verification logic.
This package should be open to public once verification API is fully finished.
Verification checkers.
-
Uses of InOrderContext in org.mockito.internal
Classes in org.mockito.internal that implement InOrderContextMethods in org.mockito.internal with parameters of type InOrderContextModifier and TypeMethodDescriptionvoidMockitoCore.verifyNoMoreInteractionsInOrder(List<Object> mocks, InOrderContext inOrderContext) -
Uses of InOrderContext in org.mockito.internal.invocation
Methods in org.mockito.internal.invocation with parameters of type InOrderContextModifier and TypeMethodDescriptionstatic List<Invocation> InvocationsFinder.findAllMatchingUnverifiedChunks(List<Invocation> invocations, MatchableInvocation wanted, InOrderContext orderingContext) static InvocationInvocationsFinder.findFirstMatchingUnverifiedInvocation(List<Invocation> invocations, MatchableInvocation wanted, InOrderContext context) static InvocationInvocationsFinder.findFirstUnverifiedInOrder(InOrderContext context, List<Invocation> orderedInvocations) i3 is unverified here: i1, i2, i3 v all good here: i1, i2, i3 v vstatic 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.findPreviousVerifiedInOrder(List<Invocation> invocations, InOrderContext context) static voidInvocationMarker.markVerifiedInOrder(List<Invocation> chunk, MatchableInvocation wanted, InOrderContext context) -
Uses of InOrderContext in org.mockito.internal.verification
Classes in org.mockito.internal.verification that implement InOrderContext -
Uses of InOrderContext in org.mockito.internal.verification.api
Methods in org.mockito.internal.verification.api that return InOrderContextModifier and TypeMethodDescriptionVerificationDataInOrder.getOrderingContext()VerificationDataInOrderImpl.getOrderingContext()Constructors in org.mockito.internal.verification.api with parameters of type InOrderContextModifierConstructorDescriptionVerificationDataInOrderImpl(InOrderContext inOrder, List<Invocation> allInvocations, MatchableInvocation wanted) -
Uses of InOrderContext in org.mockito.internal.verification.checkers
Methods in org.mockito.internal.verification.checkers with parameters of type InOrderContextModifier and TypeMethodDescriptionstatic voidAtLeastXNumberOfInvocationsChecker.checkAtLeastNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext orderingContext) static voidMissingInvocationChecker.checkMissingInvocation(List<Invocation> invocations, MatchableInvocation wanted, InOrderContext context) static voidNumberOfInvocationsChecker.checkNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context) static voidNumberOfInvocationsChecker.checkNumberOfInvocationsNonGreedy(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context)