Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Class and Description |
---|---|
class |
AbstractThrowableAssert<SELF extends AbstractThrowableAssert<SELF,ACTUAL>,ACTUAL extends 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 |
---|---|
default AbstractThrowableAssert<?,? extends Throwable> |
WithAssertions.assertThat(Throwable actual)
Delegate call to
Assertions.assertThat(Throwable) |
static AbstractThrowableAssert<?,? extends Throwable> |
Assertions.assertThat(Throwable actual)
Creates a new instance of
. |
static AbstractThrowableAssert<?,? extends Throwable> |
AssertionsForClassTypes.assertThat(Throwable actual)
Creates a new instance of
. |
static AbstractThrowableAssert<?,? extends Throwable> |
Java6Assertions.assertThat(Throwable actual)
Creates a new instance of
. |
AbstractThrowableAssert<?,? extends Throwable> |
Java6AbstractStandardSoftAssertions.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
default AbstractThrowableAssert<?,? extends Throwable> |
WithAssertions.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
static AbstractThrowableAssert<?,? extends Throwable> |
Assertions.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
static AbstractThrowableAssert<?,? extends Throwable> |
AssertionsForClassTypes.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
static AbstractThrowableAssert<?,? extends Throwable> |
Java6Assertions.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable)
Allows to capture and then assert on a
Throwable . |
AbstractThrowableAssert<?,? extends Throwable> |
Java6AbstractStandardSoftAssertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
default AbstractThrowableAssert<?,? extends Throwable> |
WithAssertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Delegate call to
Assertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable) |
static AbstractThrowableAssert<?,? extends 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 Throwable> |
AssertionsForClassTypes.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to capture and then assert on a
Throwable . |
static AbstractThrowableAssert<?,? extends Throwable> |
Java6Assertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
AbstractThrowableAssert<?,? extends Throwable> |
AbstractCompletableFutureAssert.hasFailedWithThrowableThat()
Verifies that the
CompletableFuture has completed exceptionally and
returns a Throwable assertion object allowing to check the Throwable that has caused the future to fail. |
static AbstractThrowableAssert<?,? extends Throwable> |
Java6BDDAssertions.then(Throwable actual)
Creates a new instance of
. |
static AbstractThrowableAssert<?,? extends Throwable> |
BDDAssertions.then(Throwable actual)
Creates a new instance of
. |
static AbstractThrowableAssert<?,? extends Throwable> |
BDDAssertions.thenCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
AbstractThrowableAssert<?,? extends Throwable> |
Java6AbstractBDDSoftAssertions.thenCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
static AbstractThrowableAssert<?,? extends Throwable> |
Java6BDDAssertions.thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
static AbstractThrowableAssert<?,? extends Throwable> |
BDDAssertions.thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
AbstractThrowableAssert<?,? extends Throwable> |
Java6AbstractBDDSoftAssertions.thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
Copyright © 2014–2017 AssertJ. All rights reserved.