Class ThrowableMessageMatcher<T extends Throwable>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<T>
org.junit.internal.matchers.ThrowableMessageMatcher<T>
- All Implemented Interfaces:
org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddescribeMismatchSafely(T item, org.hamcrest.Description description) voiddescribeTo(org.hamcrest.Description description) static <T extends Throwable>
org.hamcrest.Matcher<T> hasMessage(org.hamcrest.Matcher<String> matcher) protected booleanmatchesSafely(T item) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
ThrowableMessageMatcher
-
-
Method Details
-
describeTo
public void describeTo(org.hamcrest.Description description) -
matchesSafely
-
describeMismatchSafely
-
hasMessage
-