public class InvocationContainerImpl extends Object implements InvocationContainer, Serializable
Constructor and Description |
---|
InvocationContainerImpl(MockCreationSettings mockSettings) |
public InvocationContainerImpl(MockCreationSettings mockSettings)
public void setInvocationForPotentialStubbing(MatchableInvocation invocation)
public void resetInvocationForPotentialStubbing(MatchableInvocation invocationMatcher)
public void addAnswer(Answer answer, Strictness stubbingStrictness)
public void addConsecutiveAnswer(Answer answer)
public StubbedInvocationMatcher addAnswer(Answer answer, boolean isConsecutive, Strictness stubbingStrictness)
public StubbedInvocationMatcher findAnswerFor(Invocation invocation)
public void setAnswersForStubbing(List<Answer<?>> answers, Strictness strictness)
public boolean hasAnswersForStubbing()
public boolean hasInvocationForPotentialStubbing()
public void setMethodForStubbing(MatchableInvocation invocation)
public List<Invocation> getInvocations()
public void clearInvocations()
public List<Stubbing> getStubbingsDescending()
public Collection<Stubbing> getStubbingsAscending()
public Object invokedMock()
public MatchableInvocation getInvocationForStubbing()
Copyright © 2019. All rights reserved.