Class BrokenFragileMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeDiagnosingMatcher<org.dmfs.jems2.Fragile<?,?>>
org.dmfs.jems2.hamcrest.matchers.fragile.BrokenFragileMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<org.dmfs.jems2.Fragile<?,,?>> org.hamcrest.SelfDescribing
public final class BrokenFragileMatcher
extends org.hamcrest.TypeSafeDiagnosingMatcher<org.dmfs.jems2.Fragile<?,?>>
A
Matcher for Fragiles which are expected to be broken.-
Constructor Summary
ConstructorsConstructorDescriptionBrokenFragileMatcher(org.hamcrest.Matcher<? super Throwable> exceptionMatcher) -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeTo(org.hamcrest.Description description) protected booleanmatchesSafely(org.dmfs.jems2.Fragile<?, ?> item, org.hamcrest.Description mismatchDescription) static org.hamcrest.Matcher<org.dmfs.jems2.Fragile<?,?>> static org.hamcrest.Matcher<org.dmfs.jems2.Fragile<?,?>> 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
-
BrokenFragileMatcher
-
-
Method Details
-
throwing
public static org.hamcrest.Matcher<org.dmfs.jems2.Fragile<?,?>> throwing(org.hamcrest.Matcher<? super Throwable> exceptionMatcher) -
throwing
-
matchesSafely
protected boolean matchesSafely(org.dmfs.jems2.Fragile<?, ?> item, org.hamcrest.Description mismatchDescription) - Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeDiagnosingMatcher<org.dmfs.jems2.Fragile<?,?>>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-