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

W

WantedButNotInvoked - Error in org.mockito.exceptions.verification
 
WantedButNotInvoked(String) - Constructor for error org.mockito.exceptions.verification.WantedButNotInvoked
 
wasUsed() - Method in interface org.mockito.stubbing.Stubbing
Informs if the stubbing was used
when(T) - Static method in class org.mockito.Mockito
Enables stubbing methods.
when(T) - Method in interface org.mockito.stubbing.LenientStubber
Allows declaring the method to stub.
when(T) - Method in interface org.mockito.stubbing.Stubber
Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
will(Answer<?>) - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
will(Answer<?>) - Method in interface org.mockito.BDDMockito.BDDStubber
will(Answer<?>) - Static method in class org.mockito.BDDMockito
willAnswer(Answer<?>) - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
willAnswer(Answer<?>) - Method in interface org.mockito.BDDMockito.BDDStubber
willAnswer(Answer<?>) - Static method in class org.mockito.BDDMockito
willCallRealMethod() - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
willCallRealMethod() - Method in interface org.mockito.BDDMockito.BDDStubber
willCallRealMethod() - Static method in class org.mockito.BDDMockito
willDoNothing() - Method in interface org.mockito.BDDMockito.BDDStubber
willDoNothing() - Static method in class org.mockito.BDDMockito
see original Mockito.doNothing()
willNothing() - Method in interface org.mockito.BDDMockito.BDDStubber
Deprecated.
as of 2.1.0 please use BDDMockito.BDDStubber.willDoNothing() instead
willReturn(T) - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
willReturn(T, T...) - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
willReturn(Object) - Method in interface org.mockito.BDDMockito.BDDStubber
willReturn(Object, Object...) - Method in interface org.mockito.BDDMockito.BDDStubber
willReturn(Object) - Static method in class org.mockito.BDDMockito
willReturn(Object, Object...) - Static method in class org.mockito.BDDMockito
willThrow(Throwable...) - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
willThrow(Class<? extends Throwable>) - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
willThrow(Class<? extends Throwable>, Class<? extends Throwable>...) - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
willThrow(Throwable...) - Method in interface org.mockito.BDDMockito.BDDStubber
willThrow(Class<? extends Throwable>) - Method in interface org.mockito.BDDMockito.BDDStubber
willThrow(Class<? extends Throwable>, Class<? extends Throwable>...) - Method in interface org.mockito.BDDMockito.BDDStubber
willThrow(Throwable...) - Static method in class org.mockito.BDDMockito
willThrow(Class<? extends Throwable>) - Static method in class org.mockito.BDDMockito
willThrow(Class<? extends Throwable>, Class<? extends Throwable>...) - Static method in class org.mockito.BDDMockito
withoutAnnotations() - Method in interface org.mockito.MockSettings
By default, Mockito makes an attempt to preserve all annotation meta data on the mocked type and its methods to mirror the mocked type as closely as possible.
withSettings() - Static method in class org.mockito.Mockito
Allows mock creation with additional mock settings.
WrongTypeOfReturnValue - Exception in org.mockito.exceptions.misusing
 
WrongTypeOfReturnValue(String) - Constructor for exception org.mockito.exceptions.misusing.WrongTypeOfReturnValue
 
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links
Mockito 3.2.4 API