All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fitbur.mockito.verification.After Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package com.fitbur.mockito.verification;

import com.fitbur.mockito.internal.verification.VerificationModeFactory;
import com.fitbur.mockito.internal.verification.VerificationOverTimeImpl;

/**
 * See the javadoc for {@link VerificationAfterDelay}
 * 

* Typically, you won't use this class explicitly. Instead use timeout() method on Mockito class. * See javadoc for {@link VerificationWithTimeout} */ public class After extends VerificationWrapper implements VerificationAfterDelay { /** * See the javadoc for {@link VerificationAfterDelay} *

* Typically, you won't use this class explicitly. Instead use timeout() method on Mockito class. * See javadoc for {@link VerificationWithTimeout} */ public After(long delayMillis, VerificationMode verificationMode) { this(10, delayMillis, verificationMode); } After(long pollingPeriod, long delayMillis, VerificationMode verificationMode) { this(new VerificationOverTimeImpl(pollingPeriod, delayMillis, verificationMode, false)); } After(VerificationOverTimeImpl verificationOverTime) { super(verificationOverTime); } @Override protected VerificationMode copySelfWithNewVerificationMode(VerificationMode verificationMode) { return new After(wrappedVerification.copyWithVerificationMode(verificationMode)); } @Override public VerificationMode description(String description) { return VerificationModeFactory.description(this, description); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy