org.mockito.internal.progress
Class VerificationModeImpl
java.lang.Object
org.mockito.internal.progress.VerificationModeImpl
- All Implemented Interfaces:
- VerificationMode
public class VerificationModeImpl
- extends java.lang.Object
- implements VerificationMode
Holds additional information regarding verification.
Implements marking interface which hides details from Mockito users.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
atLeastOnce
public static VerificationModeImpl atLeastOnce()
times
public static VerificationModeImpl times(int wantedNumberOfInvocations)
inOrder
public static VerificationModeImpl inOrder(java.lang.Integer wantedNumberOfInvocations,
java.util.List<? extends java.lang.Object> mocksToBeVerifiedInOrder)
noMoreInteractions
public static VerificationModeImpl noMoreInteractions()
wantedCount
public java.lang.Integer wantedCount()
getMocksToBeVerifiedInOrder
public java.util.List<? extends java.lang.Object> getMocksToBeVerifiedInOrder()
atLeastOnceMode
public boolean atLeastOnceMode()
explicitMode
public boolean explicitMode()
inOrderMode
public boolean inOrderMode()
missingMethodMode
public boolean missingMethodMode()
missingMethodInOrderMode
public boolean missingMethodInOrderMode()
exactNumberOfInvocationsMode
public boolean exactNumberOfInvocationsMode()
matchesActualCount
public boolean matchesActualCount(int actualCount)
tooLittleActualInvocations
public boolean tooLittleActualInvocations(int actualCount)
tooManyActualInvocations
public boolean tooManyActualInvocations(int actualCount)
neverWanted
public boolean neverWanted()
neverWantedButInvoked
public boolean neverWantedButInvoked(int actualCount)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object