Package org.mockito.internal.stubbing.answers
Answers for stubbed calls.
-
Class Summary Class Description AbstractThrowsException AnswerFunctionalInterfaces Functional interfaces to make it easy to implement answers in Java 8AnswersWithDelay Returns as the provided answer would return, after delaying the specified amount.CallsRealMethods Optional Answer that adds partial mocking supportClonesArguments DefaultAnswerValidator DoesNothing InvocationInfo Returns ReturnsArgumentAt Returns the passed parameter identity at specified index.ReturnsElementsOf Returns elements of the collection.ThrowsException An answer that always throws the same throwable.ThrowsExceptionForClassType