Package org.jmock.core
Interface Verifiable
-
- All Known Subinterfaces:
DynamicMock
,Expectation
,ExpectationCollection
,InvocationDispatcher
,InvocationMatcher
,Invokable
- All Known Implementing Classes:
AbstractDynamicMock
,AbstractExpectation
,AbstractExpectationCollection
,AbstractInvocationDispatcher
,AnyArgumentsMatcher
,ArgumentsMatcher
,CGLIBCoreMock
,CoreMock
,ExpectationCounter
,ExpectationDoubleValue
,ExpectationList
,ExpectationMap
,ExpectationSegment
,ExpectationSet
,ExpectationValue
,FIFOInvocationDispatcher
,InvocationMocker
,InvokeAtLeastOnceMatcher
,InvokeAtMostOnceMatcher
,InvokeCountMatcher
,InvokedAfterMatcher
,InvokedRecorder
,InvokeOnceMatcher
,LIFOInvocationDispatcher
,MethodNameMatcher
,Mock
,MockObject
,NoArgumentsMatcher
,ReturnObjectBag
,ReturnObjectList
,ReturnObjectMap
,StatelessInvocationMatcher
,TestFailureMatcher
public interface Verifiable
A Verifiable is an object that can confirm at the end of a unit test that the correct behvaiour has occurred.- Since:
- 1.0
- See Also:
Verifier to check all the Verifiables in an object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
verify()
Throw an AssertionFailedException if any expectations have not been met.
-