test.jmock.core.testsupport
Class MockVerifiable

java.lang.Object
  extended bytest.jmock.core.testsupport.MockVerifiable
All Implemented Interfaces:
Verifiable
Direct Known Subclasses:
MockDynamicMock, MockInvocationDispatcher, MockInvocationMatcher, MockInvokable

public class MockVerifiable
extends Object
implements Verifiable


Field Summary
 ExpectationCounter verifyCalls
           
 AssertionFailedError verifyFailure
           
 
Constructor Summary
MockVerifiable()
           
 
Method Summary
 void setExpectedVerifyCalls(int expectedCalls)
           
 void verify()
          Throw an AssertionFailedException if any expectations have not been met.
 void verifyExpectations()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verifyCalls

public ExpectationCounter verifyCalls

verifyFailure

public AssertionFailedError verifyFailure
Constructor Detail

MockVerifiable

public MockVerifiable()
Method Detail

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()