Package org.jmock.core
Interface SelfDescribing
-
- All Known Subinterfaces:
Constraint,InvocationDispatcher,InvocationMatcher,Invokable,Stub
- All Known Implementing Classes:
AbstractInvocationDispatcher,And,AnyArgumentsMatcher,ArgumentsMatcher,CustomStub,DefaultResultStub,DoAllStub,FIFOInvocationDispatcher,HasProperty,HasPropertyWithValue,HasToString,Invocation,InvocationMocker,InvokeAtLeastOnceMatcher,InvokeAtMostOnceMatcher,InvokeCountMatcher,InvokedAfterMatcher,InvokedRecorder,InvokeOnceMatcher,IsAnything,IsArrayContaining,IsCloseTo,IsCollectionContaining,IsCompatibleType,IsEqual,IsEventFrom,IsGreaterThan,IsIn,IsInstanceOf,IsLessThan,IsMapContaining,IsNot,IsNothing,IsNull,IsSame,LIFOInvocationDispatcher,MethodNameMatcher,NoArgumentsMatcher,Or,ReturnIteratorStub,ReturnStub,StatelessInvocationMatcher,StringContains,StringEndsWith,StringStartsWith,StubSequence,SubstringConstraint,TestFailureMatcher,TestFailureStub,ThrowStub,VoidStub
public interface SelfDescribingAn object that can describe itself. Used when reporting a missed expectation in a test case.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringBufferdescribeTo(java.lang.StringBuffer buffer)Appends the description of this object to the buffer.
-