org.jmock.expectation
Class ExpectationSet
java.lang.Object
org.jmock.expectation.AbstractExpectation
org.jmock.expectation.AbstractExpectationCollection
org.jmock.expectation.ExpectationSet
- All Implemented Interfaces:
- Verifiable, Expectation, ExpectationCollection
public class ExpectationSet
- extends AbstractExpectationCollection
Methods inherited from class org.jmock.expectation.AbstractExpectationCollection |
addActual, addActual, addActual, addActualMany, addActualMany, addActualMany, addExpected, addExpected, addExpected, addExpectedMany, addExpectedMany, addExpectedMany, clearActual, clearExpectation, setExpectNothing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpectationSet
public ExpectationSet(String name)
checkImmediateValues
protected void checkImmediateValues(Object actualItem)
- Specified by:
checkImmediateValues
in class AbstractExpectationCollection
getActualCollection
protected Collection getActualCollection()
- Specified by:
getActualCollection
in class AbstractExpectationCollection
getExpectedCollection
protected Collection getExpectedCollection()
- Specified by:
getExpectedCollection
in class AbstractExpectationCollection
verify
public void verify()
- Description copied from interface:
Verifiable
- Throw an AssertionFailedException if any expectations have not been met.
- Specified by:
verify
in interface Verifiable
- Overrides:
verify
in class AbstractExpectationCollection