Class After
java.lang.Object
org.mockito.verification.After
- All Implemented Interfaces:
VerificationAfterDelay, VerificationMode
See the javadoc for
VerificationAfterDelay
Typically, you won't use this class explicitly. Instead use timeout() method on Mockito class.
See javadoc for VerificationWithTimeout
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.mockito.internal.verification.VerificationOverTimeImpl -
Constructor Summary
ConstructorsConstructorDescriptionAfter(long delayMillis, VerificationMode verificationMode) See the javadoc forVerificationAfterDelay -
Method Summary
Modifier and TypeMethodDescriptionatLeast(int minNumberOfInvocations) atMost(int maxNumberOfInvocations) protected VerificationModecopySelfWithNewVerificationMode(VerificationMode verificationMode) never()only()times(int wantedNumberOfInvocations) toString()voidverify(org.mockito.internal.verification.api.VerificationData data) Performs the verificationMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface VerificationAfterDelay
atLeast, atLeastOnce, atMost, atMostOnce, never, only, timesMethods inherited from interface VerificationMode
description, verify
-
Field Details
-
wrappedVerification
protected final org.mockito.internal.verification.VerificationOverTimeImpl wrappedVerification
-
-
Constructor Details
-
After
See the javadoc forVerificationAfterDelayTypically, you won't use this class explicitly. Instead use timeout() method on Mockito class. See javadoc for
VerificationWithTimeout
-
-
Method Details
-
copySelfWithNewVerificationMode
-
toString
-
verify
public void verify(org.mockito.internal.verification.api.VerificationData data) Description copied from interface:VerificationModePerforms the verification- Specified by:
verifyin interfaceVerificationMode
-
times
-
never
-
atLeastOnce
-
atLeast
-
atMostOnce
-
atMost
-
only
-