public interface Expectation extends Verifiable
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasExpectations()
Return true if any expectations have been set on this object.
|
void |
setExpectNothing()
Tell the object to expect nothing to happen to it, perhaps because the test is exercising
the handling of an error.
|
void |
setFailOnVerify()
If an incorrect actual value is set, defer reporting this as a failure until verify()
is called on this object.
|
verifyboolean hasExpectations()
void setExpectNothing()
void setFailOnVerify()