com.fitbur.mockito.internal.InOrderImpl Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package com.fitbur.mockito.internal;
import com.fitbur.mockito.InOrder;
import com.fitbur.mockito.exceptions.base.MockitoException;
import com.fitbur.mockito.internal.verification.InOrderContextImpl;
import com.fitbur.mockito.internal.verification.InOrderWrapper;
import com.fitbur.mockito.internal.verification.VerificationModeFactory;
import com.fitbur.mockito.internal.verification.api.InOrderContext;
import com.fitbur.mockito.internal.verification.api.VerificationInOrderMode;
import com.fitbur.mockito.invocation.Invocation;
import com.fitbur.mockito.verification.VerificationMode;
import com.fitbur.mockito.verification.VerificationWrapper;
import com.fitbur.mockito.verification.VerificationWrapperInOrderWrapper;
import static com.fitbur.mockito.exceptions.Reporter.inOrderRequiresFamiliarMock;
import java.util.LinkedList;
import java.util.List;
/**
* Allows verifying in order. This class should not be exposed, hence default access.
*/
public class InOrderImpl implements InOrder, InOrderContext {
private final MockitoCore mockitoCore = new MockitoCore();
private final List