java.lang.Object
com.mockobjects.AbstractExpectation
com.mockobjects.AbstractExpectationCollection
com.mockobjects.ExpectationSet
- All Implemented Interfaces:
- Expectation, ExpectationCollection, Verifiable
- public class ExpectationSet
- extends AbstractExpectationCollection
| Methods inherited from class com.mockobjects.AbstractExpectationCollection |
addActual, addActual, addActualMany, addActualMany, addActualMany, addExpected, addExpected, addExpectedMany, addExpectedMany, addExpectedMany, clearActual, clearExpectation, setExpectNothing, verify |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myExpectedItems
private java.util.HashSet myExpectedItems
myActualItems
private java.util.HashSet myActualItems
ExpectationSet
public ExpectationSet(java.lang.String name)
checkImmediateValues
protected void checkImmediateValues(java.lang.Object actualItem)
- Specified by:
checkImmediateValues in class AbstractExpectationCollection
getActualCollection
protected java.util.Collection getActualCollection()
- Specified by:
getActualCollection in class AbstractExpectationCollection
getExpectedCollection
protected java.util.Collection getExpectedCollection()
- Specified by:
getExpectedCollection in class AbstractExpectationCollection