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 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)static ThrowableAssertions.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to catch anThrowablemore easily when used with Java 8 lambdas.static ThrowableAssertionsForClassTypes.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to catch anThrowablemore easily when used with Java 8 lambdas.static ThrowableJava6Assertions.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) Allows to catch anThrowablemore easily when used with Java 8 lambdas.static ThrowableThrowableAssert.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) default ThrowableWithAssertions.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 thethrowingCallableand allow to chain assertions on the thrown exception.static 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.