Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Method and Description |
---|---|
default AbstractThrowableAssert<?,? extends Throwable> |
WithAssertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Delegate call to
org.assertj.core.api.Assertions#assertThatThrownBy(ThrowingCallable) |
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. |
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. |
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 Throwable |
WithAssertions.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Delegate call to
org.assertj.core.api.Assertions#catchThrowable(ThrowingCallable) |
static Throwable |
AssertionsForClassTypes.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to catch an
Throwable more easily when used with Java 8 lambdas. |
static Throwable |
Java6Assertions.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to catch an
Throwable more easily when used with Java 8 lambdas. |
static Throwable |
Assertions.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to catch an
Throwable more easily when used with Java 8 lambdas. |
static Throwable |
ThrowableAssert.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
ThrowableAssertAlternative<T> |
ThrowableTypeAssert.isThrownBy(ThrowableAssert.ThrowingCallable throwingCallable)
Assert that an exception of type T is thrown by the
throwingCallable
and allow to chain assertions on the thrown exception. |
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. |
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. |
Copyright © 2014–2016 AssertJ. All rights reserved.