com.fitbur.mockito.internal.verification.InOrderContextImpl Maven / Gradle / Ivy
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package com.fitbur.mockito.internal.verification;
import com.fitbur.mockito.internal.util.collections.IdentitySet;
import com.fitbur.mockito.internal.verification.api.InOrderContext;
import com.fitbur.mockito.invocation.Invocation;
public class InOrderContextImpl implements InOrderContext {
final IdentitySet verified = new IdentitySet();
public boolean isVerified(Invocation invocation) {
return verified.contains(invocation);
}
public void markVerified(Invocation i) {
verified.add(i);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy