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, never, only, times, verify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
atLeast, atLeastOnce, atMost, never, only, times
verify
public 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)
VerificationMode
description
in interface VerificationMode
description
- The custom failure message