Uses of Interface
org.assertj.core.api.ThrowableAssert.ThrowingCallable
Packages that use ThrowableAssert.ThrowingCallable
-
Uses of ThrowableAssert.ThrowingCallable in org.assertj.core.api
Methods in org.assertj.core.api with parameters of type ThrowableAssert.ThrowingCallableModifier and TypeMethodDescriptionstatic AbstractThrowableAssert<?,
? extends Throwable> Assertions.assertThatCode
(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) Allows to capture and then assert on aThrowable
more easily when used with Java 8 lambdas.static AbstractThrowableAssert<?,
? extends Throwable> AssertionsForClassTypes.assertThatCode
(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) Allows to capture and then assert on aThrowable
more easily when used with Java 8 lambdas.AbstractThrowableAssert<?,
? extends Throwable> Java6AbstractStandardSoftAssertions.assertThatCode
(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) Allows to capture and then assert on aThrowable
more 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 aThrowable
more easily when used with Java 8 lambdas.static AbstractThrowableAssert<?,
? extends Throwable> Assertions.assertThatThrownBy
(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to capture and then assert on aThrowable
more 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 aThrowable
more easily when used with Java 8 lambdas.static AbstractThrowableAssert<?,
? extends Throwable> Java6Assertions.assertThatThrownBy
(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to capture and then assert on aThrowable
more easily when used with Java 8 lambdas.default AbstractThrowableAssert<?,
? extends Throwable> WithAssertions.assertThatThrownBy
(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Delegate call toAssertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable)
static Throwable
Assertions.catchThrowable
(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to catch anThrowable
more easily when used with Java 8 lambdas.static Throwable
AssertionsForClassTypes.catchThrowable
(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to catch anThrowable
more easily when used with Java 8 lambdas.static Throwable
Java6Assertions.catchThrowable
(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to catch anThrowable
more easily when used with Java 8 lambdas.static Throwable
ThrowableAssert.catchThrowable
(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) default Throwable
WithAssertions.catchThrowable
(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Delegate call toAssertions.catchThrowable(ThrowableAssert.ThrowingCallable)
ThrowableTypeAssert.isThrownBy
(ThrowableAssert.ThrowingCallable throwingCallable) Assert that an exception of type T is thrown by thethrowingCallable
and allow to chain assertions on the thrown exception.static AbstractThrowableAssert<?,
? extends Throwable> BDDAssertions.thenCode
(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) Allows to capture and then assert on aThrowable
more easily when used with Java 8 lambdas.AbstractThrowableAssert<?,
? extends Throwable> Java6AbstractBDDSoftAssertions.thenCode
(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) Allows to capture and then assert on aThrowable
more easily when used with Java 8 lambdas.static AbstractThrowableAssert<?,
? extends Throwable> BDDAssertions.thenThrownBy
(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to capture and then assert on aThrowable
more easily when used with Java 8 lambdas.AbstractThrowableAssert<?,
? extends Throwable> Java6AbstractBDDSoftAssertions.thenThrownBy
(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to capture and then assert on aThrowable
more easily when used with Java 8 lambdas.static AbstractThrowableAssert<?,
? extends Throwable> Java6BDDAssertions.thenThrownBy
(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to capture and then assert on aThrowable
more easily when used with Java 8 lambdas.