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() |
|
default ThrowableTypeAssert<IllegalArgumentException> |
WithAssertions.assertThatIllegalArgumentException() |
|
static ThrowableTypeAssert<IllegalStateException> |
Assertions.assertThatIllegalStateException() |
|
default ThrowableTypeAssert<IllegalStateException> |
WithAssertions.assertThatIllegalStateException() |
|
static ThrowableTypeAssert<IOException> |
Assertions.assertThatIOException() |
|
default ThrowableTypeAssert<IOException> |
WithAssertions.assertThatIOException() |
|
static ThrowableTypeAssert<NullPointerException> |
Assertions.assertThatNullPointerException() |
|
default ThrowableTypeAssert<NullPointerException> |
WithAssertions.assertThatNullPointerException() |
|
ThrowableTypeAssert<T> |
ThrowableTypeAssert.describedAs(Description description) |
Sets the description of the assertion that is going to be called after.
|
static <T extends Throwable> ThrowableTypeAssert<T> |
BDDAssertions.thenExceptionOfType(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> |
BDDAssertions.thenIllegalArgumentException() |
|
static ThrowableTypeAssert<IllegalStateException> |
BDDAssertions.thenIllegalStateException() |
|
static ThrowableTypeAssert<IOException> |
BDDAssertions.thenIOException() |
|
static ThrowableTypeAssert<NullPointerException> |
BDDAssertions.thenNullPointerException() |
|