static <T extends Throwable> ThrowableTypeAssert<T> |
Assertions.assertThatExceptionOfType(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 Throwable> ThrowableTypeAssert<T> |
AssertionsForClassTypes.assertThatExceptionOfType(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 Throwable> ThrowableTypeAssert<T> |
WithAssertions.assertThatExceptionOfType(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<IllegalArgumentException> |
Assertions.assertThatIllegalArgumentException() |
|
static ThrowableTypeAssert<IllegalStateException> |
Assertions.assertThatIllegalStateException() |
|
static ThrowableTypeAssert<IOException> |
Assertions.assertThatIOException() |
|
static ThrowableTypeAssert<NullPointerException> |
Assertions.assertThatNullPointerException() |
|