Search in sources :

Example 6 with InOrderContextImpl

use of org.mockito.internal.verification.InOrderContextImpl in project mockito by mockito.

the class NumberOfInvocationsInOrderCheckerTest method setup.

@Before
public void setup() {
    context = new InOrderContextImpl();
    mock = mock(IMethods.class, "mock");
}
Also used : InOrderContextImpl(org.mockito.internal.verification.InOrderContextImpl) IMethods(org.mockitousage.IMethods) Before(org.junit.Before)

Aggregations

InOrderContextImpl (org.mockito.internal.verification.InOrderContextImpl)6 Test (org.junit.Test)5 Invocation (org.mockito.invocation.Invocation)3 InvocationBuilder (org.mockito.internal.invocation.InvocationBuilder)2 InvocationMatcher (org.mockito.internal.invocation.InvocationMatcher)2 InOrderContext (org.mockito.internal.verification.api.InOrderContext)2 Before (org.junit.Before)1 MatchableInvocation (org.mockito.invocation.MatchableInvocation)1 IMethods (org.mockitousage.IMethods)1