org.mockito.internal.verification.api.VerificationDataInOrderImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockito-core Show documentation
Show all versions of mockito-core Show documentation
Mockito mock objects library core API and implementation
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.verification.api;
import java.util.List;
import org.mockito.invocation.Invocation;
import org.mockito.invocation.MatchableInvocation;
public class VerificationDataInOrderImpl implements VerificationDataInOrder {
private final InOrderContext inOrder;
private final List allInvocations;
private final MatchableInvocation wanted;
public VerificationDataInOrderImpl(InOrderContext inOrder, List allInvocations, MatchableInvocation wanted) {
this.inOrder = inOrder;
this.allInvocations = allInvocations;
this.wanted = wanted;
}
public List getAllInvocations() {
return allInvocations;
}
public InOrderContext getOrderingContext() {
return inOrder;
}
public MatchableInvocation getWanted() {
return wanted;
}
}