public final class HasMessage<T extends Throwable>
extends org.hamcrest.TypeSafeMatcher<T>
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
static <T extends Throwable> |
hasMessage(org.hamcrest.Matcher<String> messageMatcher) |
static <T extends Throwable> |
hasMessage(String message) |
protected boolean |
matchesSafely(T throwable) |
describeMismatch, describeMismatchSafely, matchesCopyright © 2013–2015. All rights reserved.