org.jmock.core
Interface SelfDescribing
- Constraint, InvocationDispatcher, InvocationMatcher, Invokable, Stub
- And, AnyArgumentsMatcher, ArgumentsMatcher, CustomStub, DefaultResultStub, FIFOInvocationDispatcher, Invocation, InvocationMocker, InvokeAtLeastOnceMatcher, InvokedAfterMatcher, InvokedRecorder, InvokeOnceMatcher, IsAnything, IsCloseTo, IsEqual, IsEventFrom, IsGreaterThan, IsInstanceOf, IsLessThan, IsNot, IsNull, IsSame, LIFOInvocationDispatcher, MethodNameMatcher, NoArgumentsMatcher, Or, ReturnStub, StatelessInvocationMatcher, StringContains, StubSequence, TestFailureMatcher, TestFailureStub, ThrowStub, VoidStub
public interface SelfDescribing
An object that can describe itself.
Used when reporting a missed expectation in a test case.
StringBuffer | describeTo(StringBuffer buffer) - Appends the description of this object to the buffer.
|
describeTo
public StringBuffer describeTo(StringBuffer buffer)
Appends the description of this object to the buffer.
buffer
- The buffer that the description is appended to.
- The buffer passed to the invokedMethod.