| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(Block block) |
static <T extends Throwable> |
throwsException(Class<T> expected) |
static <T extends Throwable> |
throwsException(Class<T> expected,
org.hamcrest.Matcher<T> exceptionMatcher) |
describeMismatch, describeMismatchSafely, matchespublic static <T extends Throwable> org.hamcrest.Matcher<Block> throwsException(Class<T> expected)
public static <T extends Throwable> org.hamcrest.TypeSafeMatcher<Block> throwsException(Class<T> expected, org.hamcrest.Matcher<T> exceptionMatcher)
public void describeTo(org.hamcrest.Description description)
Copyright © 2013–2015. All rights reserved.