Class QualifiesAs<T>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeDiagnosingMatcher<T>
org.saynotobugs.confidence.hamcrest.matcher.QualifiesAs<T>
- All Implemented Interfaces:
org.hamcrest.Matcher<T>,org.hamcrest.SelfDescribing
public final class QualifiesAs<T>
extends org.hamcrest.TypeSafeDiagnosingMatcher<T>
A Hamcrest
Matcher of T that delegates to a Quality.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeTo(org.hamcrest.Description description) protected booleanmatchesSafely(T item, org.hamcrest.Description mismatchDescription) Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher
describeMismatch, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
QualifiesAs
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeDiagnosingMatcher<T>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-