Package org.easymock.internal
Class UnorderedBehavior
- java.lang.Object
-
- org.easymock.internal.UnorderedBehavior
-
- All Implemented Interfaces:
java.io.Serializable
public class UnorderedBehavior extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
checkOrder
private java.util.List<ExpectedInvocationAndResults>
results
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description UnorderedBehavior(boolean checkOrder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Result
addActual(Invocation actual)
void
addExpected(ExpectedInvocation expected, Result result, Range count)
boolean
allowsExpectedInvocation(ExpectedInvocation expected, boolean checkOrder)
java.util.List<ErrorMessage>
getMessages(Invocation invocation)
boolean
verify()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
results
private final java.util.List<ExpectedInvocationAndResults> results
-
checkOrder
private final boolean checkOrder
-
-
Method Detail
-
addExpected
public void addExpected(ExpectedInvocation expected, Result result, Range count)
-
addActual
public Result addActual(Invocation actual)
-
verify
public boolean verify()
-
getMessages
public java.util.List<ErrorMessage> getMessages(Invocation invocation)
-
allowsExpectedInvocation
public boolean allowsExpectedInvocation(ExpectedInvocation expected, boolean checkOrder)
-
-