public class ThrowableMatchers extends Object
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher |
hasCauseMatching(org.hamcrest.Matcher<? extends Throwable> matcher) |
static org.hamcrest.Matcher |
hasCauseMessageMatching(org.hamcrest.Matcher<String> matcher) |
static org.hamcrest.Matcher |
hasInitialCauseMatching(org.hamcrest.Matcher<? extends Throwable> matcher) |
static org.hamcrest.Matcher |
hasInitialCauseMessageMatching(org.hamcrest.Matcher<String> matcher) |
static org.hamcrest.Matcher |
hasSuppressedMatching(org.hamcrest.Matcher<? extends Throwable[]> matcher) |
public static org.hamcrest.Matcher hasSuppressedMatching(org.hamcrest.Matcher<? extends Throwable[]> matcher)
public static org.hamcrest.Matcher hasCauseMatching(org.hamcrest.Matcher<? extends Throwable> matcher)
public static org.hamcrest.Matcher hasCauseMessageMatching(org.hamcrest.Matcher<String> matcher)
public static org.hamcrest.Matcher hasInitialCauseMatching(org.hamcrest.Matcher<? extends Throwable> matcher)
public static org.hamcrest.Matcher hasInitialCauseMessageMatching(org.hamcrest.Matcher<String> matcher)
This work is licensed under a Creative Commons Attribution 4.0 International License.