Package org.mockito.stubbing
External stubbing related classes
-
Interface Summary Interface Description Answer<T> Generic interface to be used for configuring mock's answer.DeprecatedOngoingStubbing<T> Stubs a method call with return value or an exception.OngoingStubbing<T> Simply put: "When the x method is called then return y".Stubber Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() styleVoidMethodStubbable<T> Stubs void method with an exception.