- validateMockitoUsage() - Static method in class org.mockito.Mockito
-
- valueOf(String) - Static method in enum org.mockito.Answers
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mockito.mock.SerializableMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.mockito.Answers
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.mockito.mock.SerializableMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verboseLogging() - Method in interface org.mockito.MockSettings
-
Enables real-time logging of method invocations on this mock.
- VerboseMockitoJUnitRunner - Class in org.mockito.runners
-
Deprecated.
as of 2.1.0. Use the MockitoJUnitRunner
runner instead
which contains support for detecting unused stubs.
If you still prefer using this runner, tell us why (create ticket in our issue tracker).
- VerboseMockitoJUnitRunner(Class<?>) - Constructor for class org.mockito.runners.VerboseMockitoJUnitRunner
-
Deprecated.
- VerificationAfterDelay - Interface in org.mockito.verification
-
VerificationAfterDelay is a
VerificationMode
that allows combining existing verification modes with an initial delay, e.g.
- VerificationCollector - Interface in org.mockito.junit
-
Use this rule in order to collect multiple verification failures and report at once.
- VerificationInOrderFailure - Error in org.mockito.exceptions.verification
-
- VerificationInOrderFailure(String) - Constructor for error org.mockito.exceptions.verification.VerificationInOrderFailure
-
- VerificationMode - Interface in org.mockito.verification
-
Allows verifying that certain behavior happened at least once / exact number
of times / never.
- VerificationStrategy - Interface in org.mockito.verification
-
Strategy to possibly lazily perform verifications.
- VerificationWithTimeout - Interface in org.mockito.verification
-
VerificationWithTimeout is a
VerificationMode
that allows combining existing verification modes with 'timeout'.
- verify(T) - Method in interface org.mockito.InOrder
-
Verifies interaction happened once in order.
- verify(T, VerificationMode) - Method in interface org.mockito.InOrder
-
Verifies interaction in order.
- verify(T) - Static method in class org.mockito.Mockito
-
Verifies certain behavior happened once.
- verify(T, VerificationMode) - Static method in class org.mockito.Mockito
-
Verifies certain behavior happened at least once / exact number of times / never.
- verify(VerificationData) - Method in interface org.mockito.verification.VerificationMode
-
- verifyNoMoreInteractions() - Method in interface org.mockito.InOrder
-
Verifies that no more interactions happened in order.
- verifyNoMoreInteractions(Object...) - Static method in class org.mockito.Mockito
-
Checks if any of given mocks has any unverified interaction.
- verifyZeroInteractions(Object...) - Static method in class org.mockito.Mockito
-
Verifies that no interactions happened on given mocks.
- VoidAnswer1<A> - Interface in org.mockito.stubbing
-
One parameter void function
- VoidAnswer2<A,B> - Interface in org.mockito.stubbing
-
Two parameter void function
- VoidAnswer3<A,B,C> - Interface in org.mockito.stubbing
-
Two parameter void function
- VoidAnswer4<A,B,C,D> - Interface in org.mockito.stubbing
-
Two parameter void function
- VoidAnswer5<A,B,C,D,E> - Interface in org.mockito.stubbing
-
Two parameter void function