|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mockobjects.AbstractExpectation
Constructor Summary | |
AbstractExpectation(java.lang.String name)
|
Method Summary | |
abstract void |
clearActual()
|
boolean |
hasExpectations()
Return true if any expectations have been set on this object. |
void |
setFailOnVerify()
If an incorrect actual value is set, defer reporting this as a failure until verify() is called on this object. |
abstract void |
verify()
Throw an AssertionFailedException if any expectations have not been met. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.mockobjects.Expectation |
setExpectNothing |
Constructor Detail |
public AbstractExpectation(java.lang.String name)
Method Detail |
public abstract void clearActual()
public boolean hasExpectations()
Expectation
hasExpectations
in interface Expectation
public void setFailOnVerify()
Expectation
setFailOnVerify
in interface Expectation
public abstract void verify()
Verifiable
verify
in interface Verifiable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |