com.mockobjects
Interface Verifiable

All Known Subinterfaces:
Callable, CallableAddable, Expectation, ExpectationCollection
All Known Implementing Classes:
AbstractExpectation, AbstractExpectationCollection, CallBag, CallOnceExpectation, CallSequence, CallSignature, CallStub, ExpectationMap, ExpectationSqlRow, Mock, MockBodyContent, MockHttpSession, MockObject, MockOutputStream, MockPrintWriter, MockServletInputStream, MockWriter, ReturnObjectBag, ReturnObjectList

public interface Verifiable

A Verifiable is an object that can confirm at the end of a unit test that the correct behvaiour has occurred.

See Also:
Verifier to check all the Verifiables in an object.

Method Summary
 void verify()
          Throw an AssertionFailedException if any expectations have not been met.
 

Method Detail

verify

public void verify()
Throw an AssertionFailedException if any expectations have not been met.



Copyright © 2002 Mock Objects. All Rights Reserved.