Package org.hamcrest
Interface SelfDescribing
-
- All Known Subinterfaces:
Matcher<T>
- All Known Implementing Classes:
AllOf,AnyOf,BaseMatcher,BigDecimalCloseTo,CombinableMatcher,CustomMatcher,CustomTypeSafeMatcher,DescribedAs,DiagnosingMatcher,Every,FeatureMatcher,HasProperty,HasPropertyWithValue,HasToString,HasXPath,Is,IsAnything,IsArray,IsArrayContaining,IsArrayContainingInAnyOrder,IsArrayContainingInOrder,IsArrayWithSize,IsCloseTo,IsCollectionContaining,IsCollectionWithSize,IsCompatibleType,IsEmptyCollection,IsEmptyIterable,IsEmptyString,IsEqual,IsEqualIgnoringCase,IsEqualIgnoringWhiteSpace,IsEventFrom,IsIn,IsInstanceOf,IsIterableContainingInAnyOrder,IsIterableContainingInOrder,IsIterableWithSize,IsMapContaining,IsNot,IsNull,IsSame,OrderingComparison,SamePropertyValuesAs,SamePropertyValuesAs.PropertyMatcher,SelfDescribingValue,StringContains,StringContainsInOrder,StringEndsWith,StringStartsWith,SubstringMatcher,TypeSafeDiagnosingMatcher,TypeSafeMatcher
public interface SelfDescribingThe ability of an object to describe itself.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddescribeTo(Description description)Generates a description of the object.
-
-
-
Method Detail
-
describeTo
void describeTo(Description description)
Generates a description of the object. The description may be part of a a description of a larger object of which this is just a component, so it should be worded appropriately.- Parameters:
description- The description to be built or appended to.
-
-