Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.mockito.verification.VerificationMode

Packages that use VerificationMode
org.mockito | Mockito is a mock library for java - see Mockito class for for usage.
org.mockito.internal | Internal classes, not to be used by clients.
org.mockito.internal.progress | Mocking progress stateful classes.
org.mockito.internal.verification | Verification logic.
org.mockito.internal.verification.checkers | verification checkers
org.mockito.verification |

Uses of VerificationMode in org.mockito

Methods in org.mockito that return VerificationMode
`static VerificationMode` | `Mockito.atLeast(int minNumberOfInvocations)` Allows at-least-x verification.
`static VerificationMode` | `Mockito.atLeastOnce()` Allows at-least-once verification.
`static VerificationMode` | `Mockito.atMost(int maxNumberOfInvocations)` Allows at-most-x verification.
`static VerificationMode` | `Mockito.calls(int wantedNumberOfInvocations)` Allows non-greedy verification in order.
`static VerificationMode` | `Mockito.never()` Alias to `times(0)`, see `Mockito.times(int)`
`static VerificationMode` | `Mockito.only()` Allows checking if given method was the only one invoked.
`static VerificationMode` | `Mockito.times(int wantedNumberOfInvocations)` Allows verifying exact number of invocations.

Methods in org.mockito with parameters of type VerificationMode
`static
`<T> T`
` | `Mockito.verify(T mock, VerificationMode mode)` Verifies certain behavior happened at least once / exact number of times / never.
`
`<T> T`
` | `InOrder.verify(T mock, VerificationMode mode)` Verifies interaction in order.

Uses of VerificationMode in org.mockito.internal

Methods in org.mockito.internal with parameters of type VerificationMode
`
`<T> T`
` | `MockitoCore.verify(T mock, VerificationMode mode)`
`
`<T> T`
` | `InOrderImpl.verify(T mock, VerificationMode mode)`

Uses of VerificationMode in org.mockito.internal.progress

Methods in org.mockito.internal.progress that return VerificationMode
`VerificationMode` | `ThreadSafeMockingProgress.pullVerificationMode()`
`VerificationMode` | `MockingProgressImpl.pullVerificationMode()`
`VerificationMode` | `MockingProgress.pullVerificationMode()`

Methods in org.mockito.internal.progress with parameters of type VerificationMode
`void` | `ThreadSafeMockingProgress.verificationStarted(VerificationMode verify)`
`void` | `MockingProgressImpl.verificationStarted(VerificationMode verify)`
`void` | `MockingProgress.verificationStarted(VerificationMode verificationMode)`

Uses of VerificationMode in org.mockito.internal.verification

Classes in org.mockito.internal.verification that implement VerificationMode
`class` | `AtLeast`
`class` | `AtMost`
`class` | `Calls`
`class` | `InOrderWrapper`
`class` | `MockAwareVerificationMode`
`class` | `NoMoreInteractions`
`class` | `Only`
`class` | `Times`

Methods in org.mockito.internal.verification that return VerificationMode
`static VerificationMode` | `VerificationModeFactory.atLeast(int minNumberOfInvocations)`
`static VerificationMode` | `VerificationModeFactory.atLeastOnce()`
`static VerificationMode` | `VerificationModeFactory.atMost(int maxNumberOfInvocations)`
`VerificationMode` | `VerificationWithTimeoutImpl.getDelegate()`
`static VerificationMode` | `VerificationModeFactory.only()`

Constructors in org.mockito.internal.verification with parameters of type VerificationMode
`MockAwareVerificationMode(java.lang.Object mock, VerificationMode mode)`
`VerificationWithTimeoutImpl(int treshhold, int millis, VerificationMode delegate)`

Uses of VerificationMode in org.mockito.internal.verification.checkers

Methods in org.mockito.internal.verification.checkers with parameters of type VerificationMode
`void` | `MissingInvocationInOrderChecker.check(java.util.List<Invocation> invocations, InvocationMatcher wanted, VerificationMode mode, InOrderContext context)`

Uses of VerificationMode in org.mockito.verification

Subinterfaces of VerificationMode in org.mockito.verification
`interface` | `VerificationWithTimeout` VerificationWithTimeout is a `VerificationMode` that allows combining existing verification modes with 'timeout'.

Classes in org.mockito.verification that implement VerificationMode
`class` | `Timeout` See the javadoc for `VerificationWithTimeout`

Methods in org.mockito.verification that return VerificationMode
`VerificationMode` | `VerificationWithTimeout.atLeast(int minNumberOfInvocations)` Allows at-least-x verification withing given timeout.
`VerificationMode` | `Timeout.atLeast(int minNumberOfInvocations)` See the javadoc for `VerificationWithTimeout`
`VerificationMode` | `VerificationWithTimeout.atLeastOnce()` Allows at-least-once verification withing given timeout.
`VerificationMode` | `Timeout.atLeastOnce()` See the javadoc for `VerificationWithTimeout`
`VerificationMode` | `VerificationWithTimeout.atMost(int maxNumberOfInvocations)` Deprecated. Deprecated validation with timeout combined with atMost simply does not make sense... The test would have passed immediately in the concurrent environment To avoid compilation erros upon upgrade the method is deprecated and it throws a "friendly reminder" exception. In future release we will remove timeout(x).atMost(y) from the API. Do you want to find out more? See issue 235
`VerificationMode` | `Timeout.atMost(int maxNumberOfInvocations)` See the javadoc for `VerificationWithTimeout`
`VerificationMode` | `VerificationWithTimeout.never()` Alias to times(0), see `VerificationWithTimeout.times(int)`
`VerificationMode` | `Timeout.never()` See the javadoc for `VerificationWithTimeout`
`VerificationMode` | `VerificationWithTimeout.only()` Allows checking if given method was the only one invoked.
`VerificationMode` | `Timeout.only()` See the javadoc for `VerificationWithTimeout`
`VerificationMode` | `VerificationWithTimeout.times(int wantedNumberOfInvocations)` Allows verifying exact number of invocations within given timeout
       verify(mock, timeout(100).times(2)).someMethod("some arg");
`VerificationMode` | `Timeout.times(int wantedNumberOfInvocations)` See the javadoc for `VerificationWithTimeout`

Constructors in org.mockito.verification with parameters of type VerificationMode
`Timeout(int millis, VerificationMode delegate)` See the javadoc for `VerificationWithTimeout`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES