SelfDescribing
Date: 2015-09-15

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 SelfDescribing

  An object that can describe itself. Used when reporting a missed expectation in a test case.
  Since:
    1.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.StringBuffer` | `describeTo(java.lang.StringBuffer buffer)` Appends the description of this object to the buffer.

- - ### Method Detail

    - #### describeTo

          java.lang.StringBuffer describeTo(java.lang.StringBuffer buffer)

      Appends the description of this object to the buffer.
      Parameters:
        `buffer` - The buffer that the description is appended to.
      Returns:
        The buffer passed to the invokedMethod.