Package org.mockito.internal.stubbing.defaultanswers
Implementations of default Answers.
-
Interface Summary Interface Description RetrieveGenericsForDefaultAnswers.AnswerCallback -
Class Summary Class Description ForwardsInvocations Internal answer to forward invocations on a real instance.GloballyConfiguredAnswer Globally configured Answer.RetrieveGenericsForDefaultAnswers ReturnsDeepStubs Returning deep stub implementation.ReturnsDeepStubs.DeeplyStubbedAnswer ReturnsDeepStubs.LazyHolder ReturnsDeepStubs.ReturnsDeepStubsSerializationFallback ReturnsEmptyValues Default answer of every Mockito mock.ReturnsMocks ReturnsMoreEmptyValues It's likely this implementation will be used by default by every Mockito 4.0.0 mock.ReturnsSmartNulls Optional Answer that can be used withMockito.mock(Class, Answer)
ReturnsSmartNulls.ThrowsSmartNullPointer TriesToReturnSelf