Lines Matching defs:never
61 * <a href="#4">4. Verifying exact number of invocations / at least once / never </a><br/>
64 * <a href="#7">7. Making sure interaction(s) never happened on mock </a><br/>
292 * <a class="meaningful_link" href="#at_least_verification" name="at_least_verification">at least x</a> / never</h3>
313 * //verification using never(). never() is an alias to times(0)
314 * verify(mockedList, never()).add("never happened");
387 * <h3 id="7">7. <a class="meaningful_link" href="#never_verification" name="never_verification">Making sure interaction(s) never happened on mock</a></h3>
396 * //verify that method was never called on a mock
397 * verify(mockOne, never()).add("two");
428 * See also {@link Mockito#never()} - it is more explicit and
1300 * annotations on types unless they were explicitly inherited and never retained annotations on methods. As a consequence, the following
2085 * Verifies certain behavior happened at least once / exact number of times / never. E.g:
2102 * @param mode times(x), atLeastOnce() or never()
2162 * See also {@link Mockito#never()} - it is more explicit and communicates the intent well.
2616 * verify(mock, never()).someMethod();
2628 public static VerificationMode never() {
2722 * the final test result is known early (e.g. if a never() fails), whereas timeout() will stop early as soon
2778 * verify(mock, after(100).never()).someMethod();