Uses of Interface
org.mockito.internal.verification.api.InOrderContext
-
Packages that use InOrderContext Package Description org.mockito.internal Internal classes, not to be used by clients.org.mockito.internal.invocation Invocation and related classes.org.mockito.internal.verification Verification logic.org.mockito.internal.verification.api This package should be open to public once verification API is fully finishedorg.mockito.internal.verification.checkers verification checkers -
-
Uses of InOrderContext in org.mockito.internal
Classes in org.mockito.internal that implement InOrderContext Modifier and Type Class Description class
InOrderImpl
Allows verifying in order.Methods in org.mockito.internal with parameters of type InOrderContext Modifier and Type Method Description void
MockitoCore. verifyNoMoreInteractionsInOrder(java.util.List<java.lang.Object> mocks, InOrderContext inOrderContext)
-
Uses of InOrderContext in org.mockito.internal.invocation
Methods in org.mockito.internal.invocation with parameters of type InOrderContext Modifier and Type Method Description java.util.List<Invocation>
InvocationsFinder. findAllMatchingUnverifiedChunks(java.util.List<Invocation> invocations, InvocationMatcher wanted, InOrderContext orderingContext)
Invocation
InvocationsFinder. findFirstMatchingUnverifiedInvocation(java.util.List<Invocation> invocations, InvocationMatcher wanted, InOrderContext context)
Invocation
InvocationsFinder. findFirstUnverifiedInOrder(InOrderContext context, java.util.List<Invocation> orderedInvocations)
i3 is unverified here: i1, i2, i3 v all good here: i1, i2, i3 v vjava.util.List<Invocation>
InvocationsFinder. findMatchingChunk(java.util.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,1Invocation
InvocationsFinder. findPreviousVerifiedInOrder(java.util.List<Invocation> invocations, InOrderContext context)
void
InvocationMarker. markVerifiedInOrder(java.util.List<Invocation> chunk, CapturesArgumensFromInvocation wanted, InOrderContext context)
-
Uses of InOrderContext in org.mockito.internal.verification
Classes in org.mockito.internal.verification that implement InOrderContext Modifier and Type Class Description class
InOrderContextImpl
-
Uses of InOrderContext in org.mockito.internal.verification.api
Methods in org.mockito.internal.verification.api that return InOrderContext Modifier and Type Method Description InOrderContext
VerificationDataInOrder. getOrderingContext()
InOrderContext
VerificationDataInOrderImpl. getOrderingContext()
Constructors in org.mockito.internal.verification.api with parameters of type InOrderContext Constructor Description VerificationDataInOrderImpl(InOrderContext inOrder, java.util.List<Invocation> allInvocations, InvocationMatcher wanted)
-
Uses of InOrderContext in org.mockito.internal.verification.checkers
Methods in org.mockito.internal.verification.checkers with parameters of type InOrderContext Modifier and Type Method Description void
MissingInvocationInOrderChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, VerificationMode mode, InOrderContext context)
void
NonGreedyNumberOfInvocationsInOrderChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context)
void
NumberOfInvocationsInOrderChecker. check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context)
Constructors in org.mockito.internal.verification.checkers with parameters of type InOrderContext Constructor Description AtLeastXNumberOfInvocationsInOrderChecker(InOrderContext orderingContext)
-