public final class VerificationTestUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
expectThrowable(java.lang.Runnable runnable,
java.lang.Class<? extends java.lang.Throwable> expected) |
static void |
expectThrowable(java.lang.Runnable runnable,
org.hamcrest.Matcher<java.lang.Throwable> matcher) |
static void |
verifyOriginalAndSuppressedCauses(java.lang.Throwable actualCause,
java.lang.Throwable expectedOriginalCause,
java.lang.Throwable expectedSuppressedCause) |
static void |
verifySuppressed(java.lang.Throwable holder,
java.lang.Throwable expectedSuppressedCause) |
public static void verifyOriginalAndSuppressedCauses(@Nullable java.lang.Throwable actualCause, java.lang.Throwable expectedOriginalCause, java.lang.Throwable expectedSuppressedCause)
public static void verifySuppressed(@Nullable java.lang.Throwable holder, java.lang.Throwable expectedSuppressedCause)
public static void expectThrowable(java.lang.Runnable runnable, java.lang.Class<? extends java.lang.Throwable> expected)
public static void expectThrowable(java.lang.Runnable runnable, org.hamcrest.Matcher<java.lang.Throwable> matcher)