public class ThrowableMessageMatcher<T extends Throwable>
extends org.hamcrest.TypeSafeMatcher<T>
Constructor and Description |
---|
ThrowableMessageMatcher(org.hamcrest.Matcher<String> matcher) |
Modifier and Type | Method and Description |
---|---|
protected void |
describeMismatchSafely(T item,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
static <T extends Throwable> |
hasMessage(org.hamcrest.Matcher<String> matcher) |
protected boolean |
matchesSafely(T item) |
public ThrowableMessageMatcher(org.hamcrest.Matcher<String> matcher)
Copyright © 2002–2019 JUnit. All rights reserved.