Uses of Interface
org.mockito.stubbing.VoidMethodStubbable
-
Packages that use VoidMethodStubbable Package Description 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.stubbing Stubbing logic.org.mockito.stubbing External stubbing related classes -
-
Uses of VoidMethodStubbable in org.mockito
Methods in org.mockito that return VoidMethodStubbable Modifier and Type Method Description static <T> VoidMethodStubbable<T>
Mockito. stubVoid(T mock)
Deprecated.UseMockito.doThrow(Throwable)
method for stubbing voids -
Uses of VoidMethodStubbable in org.mockito.internal
Methods in org.mockito.internal that return VoidMethodStubbable Modifier and Type Method Description <T> VoidMethodStubbable<T>
MockitoCore. stubVoid(T mock)
VoidMethodStubbable<T>
InternalMockHandler. voidMethodStubbable(T mock)
-
Uses of VoidMethodStubbable in org.mockito.internal.stubbing
Classes in org.mockito.internal.stubbing that implement VoidMethodStubbable Modifier and Type Class Description class
VoidMethodStubbableImpl<T>
Methods in org.mockito.internal.stubbing that return VoidMethodStubbable Modifier and Type Method Description VoidMethodStubbable<T>
VoidMethodStubbableImpl. toAnswer(Answer<?> answer)
VoidMethodStubbable<T>
VoidMethodStubbableImpl. toReturn()
VoidMethodStubbable<T>
VoidMethodStubbableImpl. toThrow(java.lang.Throwable throwable)
-
Uses of VoidMethodStubbable in org.mockito.stubbing
Methods in org.mockito.stubbing that return VoidMethodStubbable Modifier and Type Method Description VoidMethodStubbable<T>
VoidMethodStubbable. toAnswer(Answer<?> answer)
Stubs a void method with genericAnswer
VoidMethodStubbable<T>
VoidMethodStubbable. toReturn()
Stubs void method to 'just return' (e.g.VoidMethodStubbable<T>
VoidMethodStubbable. toThrow(java.lang.Throwable throwable)
Stubs void method with an exception.
-