public class After extends org.mockito.internal.verification.VerificationWrapper<org.mockito.internal.verification.VerificationOverTimeImpl> implements VerificationAfterDelay
VerificationAfterDelay
Typically, you won't use this class explicitly. Instead use timeout() method on Mockito class.
See javadoc for VerificationWithTimeout
| Constructor and Description |
|---|
After(long delayMillis,
VerificationMode verificationMode)
See the javadoc for
VerificationAfterDelay |
| Modifier and Type | Method and Description |
|---|---|
protected VerificationMode |
copySelfWithNewVerificationMode(VerificationMode verificationMode) |
VerificationMode |
description(String description)
Description will be prepended to the assertion error if verification fails.
|
atLeast, atLeastOnce, atMost, atMostOnce, never, only, times, verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitatLeast, atLeastOnce, atMost, atMostOnce, never, only, timesverifypublic After(long delayMillis,
VerificationMode verificationMode)
VerificationAfterDelay
Typically, you won't use this class explicitly. Instead use timeout() method on Mockito class.
See javadoc for VerificationWithTimeout
protected VerificationMode copySelfWithNewVerificationMode(VerificationMode verificationMode)
copySelfWithNewVerificationMode in class org.mockito.internal.verification.VerificationWrapper<org.mockito.internal.verification.VerificationOverTimeImpl>public VerificationMode description(String description)
VerificationModedescription in interface VerificationModedescription - The custom failure message