Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Class and Description |
---|---|
class |
AbstractThrowableAssert<S extends AbstractThrowableAssert<S,A>,A extends java.lang.Throwable>
Base class for all implementations of assertions for
Throwable s. |
Modifier and Type | Class and Description |
---|---|
class |
ThrowableAssert
Assertion methods for
Throwable s. |
Modifier and Type | Method and Description |
---|---|
static AbstractThrowableAssert<?,? extends java.lang.Throwable> |
Assertions.assertThat(java.lang.Throwable actual)
Creates a new instance of
. |
AbstractThrowableAssert<?,? extends java.lang.Throwable> |
AbstractStandardSoftAssertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
static AbstractThrowableAssert<?,? extends java.lang.Throwable> |
Assertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
static AbstractThrowableAssert<?,? extends java.lang.Throwable> |
BDDAssertions.then(java.lang.Throwable actual)
Creates a new instance of
. |
AbstractThrowableAssert<?,? extends java.lang.Throwable> |
AbstractBDDSoftAssertions.thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
static AbstractThrowableAssert<?,? extends java.lang.Throwable> |
BDDAssertions.thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |