Package org.easymock.internal
Class UnorderedBehavior
java.lang.Object
org.easymock.internal.UnorderedBehavior
- All Implemented Interfaces:
Serializable
A bit badly named since this class is used for both ordered and unordered expectations. However, it's the class
keeping all expectations and the corresponding results they should return. During the replay phase, it will
give the best answer for a call.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final List<ExpectedInvocationAndResults>private static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddActual(Invocation actual) voidaddExpected(ExpectedInvocation expected, Result result, Range count) booleanallowsExpectedInvocation(ExpectedInvocation expected, boolean checkOrder) getMessages(Invocation invocation) booleanverify()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
results
-
checkOrder
private final boolean checkOrder
-
-
Constructor Details
-
UnorderedBehavior
public UnorderedBehavior(boolean checkOrder)
-
-
Method Details
-
addExpected
-
addActual
-
verify
public boolean verify() -
getMessages
-
allowsExpectedInvocation
-