static <T extends java.lang.Throwable> ThrowableTypeAssert<T> |
Assertions.assertThatExceptionOfType(java.lang.Class<? extends T> exceptionType) |
Entry point to check that an exception of type T is thrown by a given throwingCallable
which allows to chain assertions on the thrown exception.
|
static <T extends java.lang.Throwable> ThrowableTypeAssert<T> |
AssertionsForClassTypes.assertThatExceptionOfType(java.lang.Class<? extends T> exceptionType) |
Entry point to check that an exception of type T is thrown by a given throwingCallable
which allows to chain assertions on the thrown exception.
|
default <T extends java.lang.Throwable> ThrowableTypeAssert<T> |
WithAssertions.assertThatExceptionOfType(java.lang.Class<? extends T> exceptionType) |
Entry point to check that an exception of type T is thrown by a given throwingCallable
which allows to chain assertions on the thrown exception.
|
static ThrowableTypeAssert<java.lang.IllegalArgumentException> |
Assertions.assertThatIllegalArgumentException() |
|
static ThrowableTypeAssert<java.lang.IllegalStateException> |
Assertions.assertThatIllegalStateException() |
|
static ThrowableTypeAssert<java.io.IOException> |
Assertions.assertThatIOException() |
|
static ThrowableTypeAssert<java.lang.NullPointerException> |
Assertions.assertThatNullPointerException() |
|