public static VerificationMode atLeastOnce() { return atLeast(1); }
public static VerificationMode atLeastOnce() { return atLeast(1); }
/** * Allows at-least-x verification. E.g: * <pre class="code"><code class="java"> * verify(mock, atLeast(3)).someMethod("some arg"); * </code></pre> * * See examples in javadoc for {@link Mockito} class * * @param minNumberOfInvocations minimum number of invocations * * @return verification mode */ public static VerificationMode atLeast(int minNumberOfInvocations) { return VerificationModeFactory.atLeast(minNumberOfInvocations); }
public VerificationMode atLeast(int minNumberOfInvocations) { return copySelfWithNewVerificationMode(VerificationModeFactory.atLeast(minNumberOfInvocations)); }
/** * Allows at-least-x verification. E.g: * <pre class="code"><code class="java"> * verify(mock, atLeast(3)).someMethod("some arg"); * </code></pre> * * See examples in javadoc for {@link Mockito} class * * @param minNumberOfInvocations minimum number of invocations * * @return verification mode */ @CheckReturnValue public static VerificationMode atLeast(int minNumberOfInvocations) { return VerificationModeFactory.atLeast(minNumberOfInvocations); }
/** * See the javadoc for {@link VerificationWithTimeout} */ public VerificationMode atLeast(int minNumberOfInvocations) { return new Timeout(impl.getTreshhold(), impl.getTimeout(), VerificationModeFactory.atLeast(minNumberOfInvocations)); }
public static VerificationMode atLeastOnce() { return atLeast(1); }
/** * Allows at-least-x verification. E.g: * <pre> * verify(mock, atLeast(3)).someMethod("some arg"); * </pre> * * See examples in javadoc for {@link Mockito} class * * @param minNumberOfInvocations minimum number of invocations * * @return verification mode */ public static VerificationMode atLeast(int minNumberOfInvocations) { return VerificationModeFactory.atLeast(minNumberOfInvocations); }
/** * See the javadoc for {@link VerificationWithTimeout} */ public VerificationMode atLeast(int minNumberOfInvocations) { return new Timeout(impl.getTreshhold(), impl.getTimeout(), VerificationModeFactory.atLeast(minNumberOfInvocations)); }