org.jmock.expectation
public class ExpectationSet extends AbstractExpectationCollection
myFailureModeIsImmediate, myName
Constructor and Description |
---|
ExpectationSet(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkImmediateValues(java.lang.Object actualItem) |
protected java.util.Collection |
getActualCollection() |
protected java.util.Collection |
getExpectedCollection() |
void |
verify()
Throw an AssertionFailedException if any expectations have not been met.
|
addActual, addActual, addActual, addActualMany, addActualMany, addActualMany, addExpected, addExpected, addExpected, addExpectedMany, addExpectedMany, addExpectedMany, clearActual, clearExpectation, setExpectNothing
assertEquals, assertEquals, hasExpectations, setFailOnVerify, setHasExpectations, shouldCheckImmediately
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasExpectations, setFailOnVerify
protected void checkImmediateValues(java.lang.Object actualItem)
checkImmediateValues
in class AbstractExpectationCollection
protected java.util.Collection getActualCollection()
getActualCollection
in class AbstractExpectationCollection
protected java.util.Collection getExpectedCollection()
getExpectedCollection
in class AbstractExpectationCollection
public void verify()
Verifiable
verify
in interface Verifiable
verify
in class AbstractExpectationCollection