Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.mockobjects.AbstractExpectation
com.mockobjects.ExpectationCounter
public class ExpectationCounter
extends AbstractExpectation
Constructor Summary | |
|
Method Summary | |
void | |
void |
|
void | |
void |
|
void |
|
Methods inherited from class com.mockobjects.AbstractExpectation | |
clearActual , hasExpectations , setFailOnVerify , verify |
public void inc()
public void setExpectNothing()
- Specified by:
- setExpectNothing in interface Expectation
public void setExpected(int expectedCalls)
public void verify()
Throw an AssertionFailedException if any expectations have not been met.
- Specified by:
- verify in interface Verifiable
- Overrides:
- verify in interface AbstractExpectation