A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
W
- WantedButNotInvoked - Error in org.mockito.exceptions.verification
- WantedButNotInvoked(String) - Constructor for error org.mockito.exceptions.verification.WantedButNotInvoked
- WARN - org.mockito.Mock.Strictness
-
See
Strictness.WARN
- WARN - org.mockito.quality.Strictness
-
Helps keeping tests clean and improves debuggability only if you read the console output.
- wasUsed() - Method in interface org.mockito.stubbing.Stubbing
-
Informs if the stubbing was used
- when(MockedStatic.Verification) - Method in interface org.mockito.MockedStatic
-
See
Mockito.when(Object)
. - 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
-
See original
OngoingStubbing.then(Answer)
- will(Answer<?>) - Method in interface org.mockito.BDDMockito.BDDStubber
-
See original
BaseStubber.doAnswer(Answer)
- will(Answer<?>) - Static method in class org.mockito.BDDMockito
-
see original
Mockito.doAnswer(Answer)
- willAnswer(Answer<?>) - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
-
See original
OngoingStubbing.thenAnswer(Answer)
- willAnswer(Answer<?>) - Method in interface org.mockito.BDDMockito.BDDStubber
-
See original
BaseStubber.doAnswer(Answer)
- willAnswer(Answer<?>) - Static method in class org.mockito.BDDMockito
-
see original
Mockito.doAnswer(Answer)
- willCallRealMethod() - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
-
See original
OngoingStubbing.thenCallRealMethod()
- willCallRealMethod() - Method in interface org.mockito.BDDMockito.BDDStubber
-
See original
BaseStubber.doCallRealMethod()
- willCallRealMethod() - Static method in class org.mockito.BDDMockito
-
see original
Mockito.doCallRealMethod()
- willDoNothing() - Method in interface org.mockito.BDDMockito.BDDStubber
-
See original
BaseStubber.doNothing()
- willDoNothing() - Static method in class org.mockito.BDDMockito
-
see original
Mockito.doNothing()
- willReturn(Object) - Method in interface org.mockito.BDDMockito.BDDStubber
-
See original
BaseStubber.doReturn(Object)
- willReturn(Object) - Static method in class org.mockito.BDDMockito
-
see original
Mockito.doReturn(Object)
- willReturn(Object, Object...) - Method in interface org.mockito.BDDMockito.BDDStubber
-
See original
BaseStubber.doReturn(Object)
- willReturn(Object, Object...) - Static method in class org.mockito.BDDMockito
-
see original
Mockito.doReturn(Object, Object...)
- willReturn(T) - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
-
See original
OngoingStubbing.thenReturn(Object)
- willReturn(T, T...) - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
-
See original
OngoingStubbing.thenReturn(Object, Object[])
- willThrow(Class<? extends Throwable>) - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
-
See original
OngoingStubbing.thenThrow(Class)
- willThrow(Class<? extends Throwable>) - Method in interface org.mockito.BDDMockito.BDDStubber
-
See original
BaseStubber.doThrow(Class)
- willThrow(Class<? extends Throwable>) - Static method in class org.mockito.BDDMockito
-
see original
Mockito.doThrow(Class)
- willThrow(Class<? extends Throwable>, Class<? extends Throwable>...) - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
-
See original
OngoingStubbing.thenThrow(Class, Class[])
- willThrow(Class<? extends Throwable>, Class<? extends Throwable>...) - Method in interface org.mockito.BDDMockito.BDDStubber
-
See original
BaseStubber.doThrow(Class, Class[])
- willThrow(Class<? extends Throwable>, Class<? extends Throwable>...) - Static method in class org.mockito.BDDMockito
-
see original
Mockito.doThrow(Class)
- willThrow(Throwable...) - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
-
See original
OngoingStubbing.thenThrow(Throwable...)
- willThrow(Throwable...) - Method in interface org.mockito.BDDMockito.BDDStubber
-
See original
BaseStubber.doThrow(Throwable...)
- willThrow(Throwable...) - Static method in class org.mockito.BDDMockito
-
see original
Mockito.doThrow(Throwable[])
- 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
All Classes All Packages