Uses of Class
org.assertj.core.api.AbstractThrowableAssert
Packages that use AbstractThrowableAssert
-
Uses of AbstractThrowableAssert in org.assertj.core.api
Classes in org.assertj.core.api with type parameters of type AbstractThrowableAssertModifier and TypeClassDescriptionclassAbstractThrowableAssert<SELF extends AbstractThrowableAssert<SELF,ACTUAL>, ACTUAL extends Throwable> Base class for all implementations of assertions forThrowables.Subclasses of AbstractThrowableAssert in org.assertj.core.apiMethods in org.assertj.core.api that return AbstractThrowableAssertModifier and TypeMethodDescriptionstatic AbstractThrowableAssert<?,? extends Throwable> Assertions.assertThat(Throwable actual) Creates a new instance of.ThrowableAssertstatic AbstractThrowableAssert<?,? extends Throwable> AssertionsForClassTypes.assertThat(Throwable actual) Creates a new instance of.ThrowableAssertstatic AbstractThrowableAssert<?,? extends Throwable> Java6Assertions.assertThat(Throwable actual) Creates a new instance of.ThrowableAssertdefault AbstractThrowableAssert<?,? extends Throwable> WithAssertions.assertThat(Throwable actual) Delegate call toAssertions.assertThat(Throwable)static AbstractThrowableAssert<?,? extends Throwable> Assertions.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) Allows to capture and then assert on aThrowablemore easily when used with Java 8 lambdas.static AbstractThrowableAssert<?,? extends Throwable> AssertionsForClassTypes.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) Allows to capture and then assert on aThrowablemore easily when used with Java 8 lambdas.AbstractThrowableAssert<?,? extends Throwable> Java6AbstractStandardSoftAssertions.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) Allows to capture and then assert on aThrowablemore easily when used with Java 8 lambdas.static AbstractThrowableAssert<?,? extends Throwable> Java6Assertions.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) Allows to capture and then assert on aThrowable.default AbstractThrowableAssert<?,? extends Throwable> WithAssertions.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) Allows to capture and then assert on aThrowablemore easily when used with Java 8 lambdas.static AbstractThrowableAssert<?,? extends Throwable> Assertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to capture and then assert on aThrowablemore easily when used with Java 8 lambdas.static AbstractThrowableAssert<?,? extends Throwable> AssertionsForClassTypes.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to capture and then assert on aThrowable.AbstractThrowableAssert<?,? extends Throwable> Java6AbstractStandardSoftAssertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to capture and then assert on aThrowablemore easily when used with Java 8 lambdas.static AbstractThrowableAssert<?,? extends Throwable> Java6Assertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to capture and then assert on aThrowablemore easily when used with Java 8 lambdas.default AbstractThrowableAssert<?,? extends Throwable> WithAssertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Delegate call toAssertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable)AbstractThrowableAssert<?,? extends Throwable> AbstractCompletableFutureAssert.hasFailedWithThrowableThat()Verifies that theCompletableFuturehas completed exceptionally and returns a Throwable assertion object allowing to check the Throwable that has caused the future to fail.static AbstractThrowableAssert<?,? extends Throwable> Creates a new instance of.ThrowableAssertstatic AbstractThrowableAssert<?,? extends Throwable> Creates a new instance of.ThrowableAssertstatic AbstractThrowableAssert<?,? extends Throwable> BDDAssertions.thenCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) Allows to capture and then assert on aThrowablemore easily when used with Java 8 lambdas.AbstractThrowableAssert<?,? extends Throwable> Java6AbstractBDDSoftAssertions.thenCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) Allows to capture and then assert on aThrowablemore easily when used with Java 8 lambdas.static AbstractThrowableAssert<?,? extends Throwable> BDDAssertions.thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to capture and then assert on aThrowablemore easily when used with Java 8 lambdas.AbstractThrowableAssert<?,? extends Throwable> Java6AbstractBDDSoftAssertions.thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to capture and then assert on aThrowablemore easily when used with Java 8 lambdas.static AbstractThrowableAssert<?,? extends Throwable> Java6BDDAssertions.thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to capture and then assert on aThrowablemore easily when used with Java 8 lambdas.