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.
- Author:
- OFFIS, Tammo Freese
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddActual
(Invocation actual) void
addExpected
(ExpectedInvocation expected, Result result, Range count) boolean
allowsExpectedInvocation
(ExpectedInvocation expected, boolean checkOrder) getMessages
(Invocation invocation) boolean
verify()
-
Constructor Details
-
UnorderedBehavior
public UnorderedBehavior(boolean checkOrder)
-
-
Method Details
-
addExpected
-
addActual
-
verify
public boolean verify() -
getMessages
-
allowsExpectedInvocation
-