Matcher<T>, SelfDescribingAnyOf, CustomMatcher, DescribedAs, DiagnosingMatcher, Is, IsAnything, IsEmptyString, IsEqual, IsIn, IsNot, IsNull, IsSame, TypeSafeDiagnosingMatcher, TypeSafeMatcherpublic abstract class BaseMatcher<T> extends java.lang.Object implements Matcher<T>
Matcher| Constructor | Description |
|---|---|
BaseMatcher() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
_dont_implement_Matcher___instead_extend_BaseMatcher_() |
Deprecated.
|
void |
describeMismatch(java.lang.Object item,
Description description) |
Generate a description of why the matcher has not accepted the item.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdescribeTo@Deprecated public final void _dont_implement_Matcher___instead_extend_BaseMatcher_()
Matcher_dont_implement_Matcher___instead_extend_BaseMatcher_ in interface Matcher<T>Matcher._dont_implement_Matcher___instead_extend_BaseMatcher_()public void describeMismatch(java.lang.Object item,
Description description)
Matchermatches(item) is false, but
will not check this.describeMismatch in interface Matcher<T>item - The item that the Matcher has rejected.description - The description to be built or appended to.public java.lang.String toString()
toString in class java.lang.Object