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 TypeMethodDescriptionvoidvoidvoidaddAnswerForVoidMethod(Answer answer) voidaddConsecutiveAnswer(Answer answer) findAnswerFor(Invocation invocation) booleanbooleanvoidresetInvocationForPotentialStubbing(InvocationMatcher invocationMatcher) voidsetAnswersForStubbing(List<Answer> answers) voidsetInvocationForPotentialStubbing(InvocationMatcher invocation) voidsetMethodForStubbing(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:
getInvocationsin interfaceInvocationContainer
-
getStubbedInvocations
- Specified by:
getStubbedInvocationsin interfaceInvocationContainer
-
invokedMock
-
getInvocationForStubbing
-