Skip navigation links
Mockito 4.1.0 API
A B C D E F G H I L M N O P R S T U V W 

V

ValidableAnswer - Interface in org.mockito.stubbing
Allow to validate this answer is correct for the given invocation.
validateFor(InvocationOnMock) - Method in interface org.mockito.stubbing.ValidableAnswer
Validation of the answer at stub time for the given invocation.
validateMockitoUsage() - Static method in class org.mockito.Mockito
First of all, in case of any trouble, I encourage you to read the Mockito FAQ: https://github.com/mockito/mockito/wiki/FAQ
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.
valueOf(String) - Static method in enum org.mockito.quality.Strictness
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.
values() - Static method in enum org.mockito.quality.Strictness
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.
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.
VerificationEvent - Interface in org.mockito.verification
Contains all information about a verification that has happened.
VerificationInOrderFailure - Error in org.mockito.exceptions.verification
 
VerificationInOrderFailure(String) - Constructor for error org.mockito.exceptions.verification.VerificationInOrderFailure
 
VerificationListener - Interface in org.mockito.listeners
This listener can be notified of verify invocations on a mock.
VerificationMode - Interface in org.mockito.verification
Allows verifying that certain behavior happened at least once / exact number of times / never.
VerificationStartedEvent - Interface in org.mockito.listeners
The instance of this class is passed to VerificationStartedListener.
VerificationStartedListener - Interface in org.mockito.listeners
This listener gets notified when the user starts verification.
verificationStartedListeners(VerificationStartedListener...) - Method in interface org.mockito.MockSettings
Registers a listener(s) that will be notified when user starts verification.
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(MockedStatic.Verification) - Method in interface org.mockito.MockedStatic
verify(MockedStatic.Verification, VerificationMode) - Method in interface org.mockito.MockedStatic
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
Performs the verification
verifyNoInteractions() - Method in interface org.mockito.MockedStatic
verifyNoInteractions(Object...) - Static method in class org.mockito.Mockito
Verifies that no interactions happened on given mocks.
verifyNoMoreInteractions() - Method in interface org.mockito.InOrder
Verifies that no more interactions happened in order.
verifyNoMoreInteractions() - Method in interface org.mockito.MockedStatic
verifyNoMoreInteractions(Object...) - Static method in class org.mockito.Mockito
Checks if any of given mocks has any unverified interaction.
VoidAnswer1<A0> - Interface in org.mockito.stubbing
Generic interface to be used for configuring mock's answer for a single argument invocation that returns nothing.
VoidAnswer2<A0,A1> - Interface in org.mockito.stubbing
Generic interface to be used for configuring mock's answer for a two argument invocation that returns nothing.
VoidAnswer3<A0,A1,A2> - Interface in org.mockito.stubbing
Generic interface to be used for configuring mock's answer for a three argument invocation that returns nothing.
VoidAnswer4<A0,A1,A2,A3> - Interface in org.mockito.stubbing
Generic interface to be used for configuring mock's answer for a four argument invocation that returns nothing.
VoidAnswer5<A0,A1,A2,A3,A4> - Interface in org.mockito.stubbing
Generic interface to be used for configuring mock's answer for a five argument invocation that returns nothing.
VoidAnswer6<A0,A1,A2,A3,A4,A5> - Interface in org.mockito.stubbing
Generic interface to be used for configuring mock's answer for a six argument invocation that returns nothing.
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links
Mockito 4.1.0 API