private final List<? extends Object> mocksToBeVerifiedInOrder;
private final Verification verification;
private VerificationModeImpl(Integer wantedNumberOfInvocations, List<? extends Object> mocksToBeVerifiedInOrder, Verification verification) {
if (wantedNumberOfInvocations != null && wantedNumberOfInvocations.intValue() < 0) {
throw new MockitoException("Negative value is not allowed here");
}
assert mocksToBeVerifiedInOrder != null;
this.wantedInvocationCount = wantedNumberOfInvocations;
this.mocksToBeVerifiedInOrder = mocksToBeVerifiedInOrder;
this.verification = verification;