Package | Description |
---|---|
org.mockito.internal.stubbing |
Stubbing logic.
|
org.mockito.internal.stubbing.defaultanswers |
Implementations of default Answers.
|
Modifier and Type | Field and Description |
---|---|
private java.util.LinkedList<StubbedInvocationMatcher> |
InvocationContainerImpl.stubbed |
Modifier and Type | Method and Description |
---|---|
StubbedInvocationMatcher |
InvocationContainerImpl.addAnswer(Answer answer,
boolean isConsecutive,
Strictness stubbingStrictness)
Adds new stubbed answer and returns the invocation matcher the answer was added to.
|
StubbedInvocationMatcher |
InvocationContainerImpl.findAnswerFor(Invocation invocation) |
Modifier and Type | Method and Description |
---|---|
private StubbedInvocationMatcher |
ReturnsDeepStubs.recordDeepStubAnswer(java.lang.Object mock,
InvocationContainerImpl container) |