org.mockito.internal.InOrderImpl Maven / Gradle / Ivy
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal;
import java.util.LinkedList;
import java.util.List;
import org.mockito.InOrder;
import org.mockito.exceptions.Reporter;
import org.mockito.exceptions.base.MockitoException;
import org.mockito.internal.verification.InOrderWrapper;
import org.mockito.internal.verification.VerificationModeFactory;
import org.mockito.internal.verification.api.VerificationInOrderMode;
import org.mockito.internal.verification.api.VerificationMode;
/**
* Allows verifying in order. This class should not be exposed, hence default access.
*/
class InOrderImpl implements InOrder {
private final MockitoCore mockitoCore = new MockitoCore();
private final Reporter reporter = new Reporter();
private final List