Package org.mockito.internal.stubbing
Class InvocationContainerImpl
java.lang.Object
org.mockito.internal.stubbing.InvocationContainerImpl
- All Implemented Interfaces:
Serializable
,InvocationContainer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvocationContainerImpl
(MockingProgress mockingProgress, MockCreationSettings mockSettings) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
addAnswerForVoidMethod
(Answer answer) void
addConsecutiveAnswer
(Answer answer) findAnswerFor
(Invocation invocation) boolean
boolean
void
resetInvocationForPotentialStubbing
(InvocationMatcher invocationMatcher) void
setAnswersForStubbing
(List<Answer> answers) void
setInvocationForPotentialStubbing
(InvocationMatcher invocation) void
setMethodForStubbing
(InvocationMatcher invocation) toString()
-
Constructor Details
-
InvocationContainerImpl
-
-
Method Details
-
setInvocationForPotentialStubbing
-
resetInvocationForPotentialStubbing
-
addAnswer
-
addConsecutiveAnswer
-
addAnswer
-
findAnswerFor
-
addAnswerForVoidMethod
-
setAnswersForStubbing
-
hasAnswersForStubbing
public boolean hasAnswersForStubbing() -
hasInvocationForPotentialStubbing
public boolean hasInvocationForPotentialStubbing() -
setMethodForStubbing
-
toString
-
getInvocations
- Specified by:
getInvocations
in interfaceInvocationContainer
-
getStubbedInvocations
- Specified by:
getStubbedInvocations
in interfaceInvocationContainer
-
invokedMock
-
getInvocationForStubbing
-