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 InOrderContextFields in org.mockito.internal declared as InOrderContextMethods in org.mockito.internal with parameters of type InOrderContextModifier and TypeMethodDescriptionvoid
MockitoCore.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 Invocation
InvocationsFinder.findFirstMatchingUnverifiedInvocation
(List<Invocation> invocations, MatchableInvocation wanted, InOrderContext context) static Invocation
InvocationsFinder.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 Invocation
InvocationsFinder.findPreviousVerifiedInOrder
(List<Invocation> invocations, InOrderContext context) static void
InvocationMarker.markVerifiedInOrder
(List<Invocation> chunk, MatchableInvocation wanted, InOrderContext context) private static List
<Invocation> InvocationsFinder.removeVerifiedInOrder
(List<Invocation> invocations, InOrderContext orderingContext) -
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
Fields in org.mockito.internal.verification.api declared as InOrderContextModifier and TypeFieldDescriptionprivate final InOrderContext
VerificationDataInOrderImpl.inOrder
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 void
AtLeastXNumberOfInvocationsChecker.checkAtLeastNumberOfInvocations
(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext orderingContext) static void
MissingInvocationChecker.checkMissingInvocation
(List<Invocation> invocations, MatchableInvocation wanted, InOrderContext context) 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)