Class AtMost
- java.lang.Object
-
- org.mockito.internal.verification.AtMost
-
- All Implemented Interfaces:
VerificationMode
public class AtMost extends java.lang.Object implements VerificationMode
-
-
Field Summary
Fields Modifier and Type Field Description private int
maxNumberOfInvocations
-
Constructor Summary
Constructors Constructor Description AtMost(int maxNumberOfInvocations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
removeAlreadyVerified(java.util.List<Invocation> invocations)
void
verify(VerificationData data)
Performs the verification-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mockito.verification.VerificationMode
description
-
-
-
-
Method Detail
-
verify
public void verify(VerificationData data)
Description copied from interface:VerificationMode
Performs the verification- Specified by:
verify
in interfaceVerificationMode
-
removeAlreadyVerified
private void removeAlreadyVerified(java.util.List<Invocation> invocations)
-
-