test.jmock.core.testsupport
Class MockVerifiable
java.lang.Object
test.jmock.core.testsupport.MockVerifiable
- All Implemented Interfaces:
- Verifiable
- Direct Known Subclasses:
- MockDynamicMock, MockInvocationDispatcher, MockInvocationMatcher, MockInvokable
- public class MockVerifiable
- extends Object
- implements Verifiable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
verifyCalls
public ExpectationCounter verifyCalls
verifyFailure
public AssertionFailedError verifyFailure
MockVerifiable
public MockVerifiable()
setExpectedVerifyCalls
public void setExpectedVerifyCalls(int expectedCalls)
verify
public void verify()
- Deprecated. Use verifyExpectations to verify this object
- Description copied from interface:
Verifiable
- Throw an AssertionFailedException if any expectations have not been met.
- Specified by:
verify
in interface Verifiable
verifyExpectations
public void verifyExpectations()