org.jmock.expectation
Class AbstractExpectation
- Expectation, Verifiable
public abstract class AbstractExpectation
myFailureModeIsImmediate
protected boolean myFailureModeIsImmediate
myName
protected String myName
AbstractExpectation
public AbstractExpectation(String name)
assertEquals
protected void assertEquals(String msg,
Object expectedValue,
Object actualValue)
Due to junit Assert being a Singleton implemented with static methods, and java's
unfortunate implementation of class methods (e.g. no late binding) it is
necessary to re-implement this invokedMethod here instead of over-riding failNotEquals
assertEquals
protected void assertEquals(String msg,
int expectedValue,
int actualValue)
clearActual
public void clearActual()
setHasExpectations
protected void setHasExpectations()
shouldCheckImmediately
protected boolean shouldCheckImmediately()