public class ThrowableMessageMatcher<T extends java.lang.Throwable> extends TypeSafeMatcher<T>
| Constructor and Description |
|---|
ThrowableMessageMatcher(<any> matcher) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(T item,
Description description) |
void |
describeTo(Description description) |
static <T extends java.lang.Throwable> |
hasMessage(<any> matcher) |
protected boolean |
matchesSafely(T item)
Subclasses should implement this.
|
matchespublic void describeTo(Description description)
protected boolean matchesSafely(T item)
TypeSafeMatchermatchesSafely in class TypeSafeMatcher<T extends java.lang.Throwable>protected void describeMismatchSafely(T item, Description description)
public static <T extends java.lang.Throwable> <any> hasMessage(<any> matcher)
Copyright (c) OSGi Alliance (2014, 2020). All Rights Reserved.