static AbstractThrowableAssert<?,? extends Throwable> |
Assertions.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) |
Allows to capture and then assert on a Throwable (easier done with 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.
|
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.
|
static AbstractThrowableAssert<?,? extends Throwable> |
Java6Assertions.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) |
Deprecated.
Allows to capture and then assert on a Throwable .
|
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.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
Allows to capture and then assert on a Throwable (easier done with lambdas).
|
static AbstractThrowableAssert<?,? extends Throwable> |
Assertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
String description,
Object... args) |
Allows to capture and then assert on a Throwable like assertThatThrownBy(ThrowingCallable) but this method
let you set the assertion description the same way you do with as(String, Object...) .
|
static AbstractThrowableAssert<?,? extends Throwable> |
AssertionsForClassTypes.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
Allows to capture and then assert on a Throwable (easier done with lambdas).
|
static AbstractThrowableAssert<?,? extends Throwable> |
AssertionsForClassTypes.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
String description,
Object... args) |
Allows to capture and then assert on a Throwable like assertThatThrownBy(ThrowingCallable) but this method
let you set the assertion description the same way you do with as(String, Object...) .
|
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.
|
AbstractThrowableAssert<?,? extends Throwable> |
Java6AbstractStandardSoftAssertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
String description,
Object... args) |
Allows to capture and then assert on a Throwable like assertThatThrownBy(ThrowingCallable) but this method
let you set the assertion description the same way you do with as(String, Object...) .
|
static AbstractThrowableAssert<?,? extends Throwable> |
Java6Assertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
Deprecated.
Allows to capture and then assert on a Throwable more easily when used with Java 8 lambdas.
|
static AbstractThrowableAssert<?,? extends Throwable> |
Java6Assertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
String description,
Object... args) |
Deprecated.
Allows to capture and then assert on a Throwable like assertThatThrownBy(ThrowingCallable) but this method
let you set the assertion description the same way you do with as(String, Object...) .
|
default AbstractThrowableAssert<?,? extends Throwable> |
WithAssertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
Allows to capture and then assert on a Throwable (easier done with lambdas).
|
default AbstractThrowableAssert<?,? extends Throwable> |
WithAssertions.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
String description,
Object... args) |
Allows to capture and then assert on a Throwable like assertThatThrownBy(ThrowingCallable) but this method
let you set the assertion description the same way you do with as(String, Object...) .
|
static AbstractThrowableAssert<?,? extends Throwable> |
Assumptions.assumeThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) |
Allows to capture and then assume on a Throwable (easier done with lambdas).
|
default AbstractThrowableAssert<?,? extends Throwable> |
WithAssumptions.assumeThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) |
Allows to capture and then assume on a Throwable (easier done with lambdas).
|
static AbstractThrowableAssert<?,? extends Throwable> |
Assumptions.assumeThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
Allows to capture and then assume on a Throwable (easier done with lambdas).
|
default AbstractThrowableAssert<?,? extends Throwable> |
WithAssumptions.assumeThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
Allows to capture and then assume on a Throwable (easier done with lambdas).
|
static Throwable |
Assertions.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
Allows catching a Throwable more easily when used with Java 8 lambdas.
|
static Throwable |
AssertionsForClassTypes.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
Allows catching a Throwable more easily when used with Java 8 lambdas.
|
static Throwable |
Java6Assertions.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
Deprecated.
Allows to catch an Throwable more easily when used with Java 8 lambdas.
|
static Throwable |
ThrowableAssert.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
|
default Throwable |
WithAssertions.catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
Allows to catch an Throwable more easily when used with Java 8 lambdas.
|
static <THROWABLE extends Throwable> THROWABLE |
Assertions.catchThrowableOfType(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
Class<THROWABLE> type) |
Allows catching a Throwable of a specific type.
|
static <THROWABLE extends Throwable> THROWABLE |
AssertionsForClassTypes.catchThrowableOfType(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
Class<THROWABLE> type) |
Allows catching a Throwable of a specific type.
|
static <THROWABLE extends Throwable> THROWABLE |
Java6Assertions.catchThrowableOfType(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
Class<THROWABLE> type) |
Deprecated.
Allows catching a Throwable of a specific type.
|
static <THROWABLE extends Throwable> THROWABLE |
ThrowableAssert.catchThrowableOfType(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
Class<THROWABLE> type) |
|
default <THROWABLE extends Throwable> THROWABLE |
WithAssertions.catchThrowableOfType(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
Class<THROWABLE> type) |
Allows catching a Throwable of a specific type.
|
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.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.
|
AbstractThrowableAssert<?,? extends Throwable> |
Java6BDDAssertions.thenCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) |
Deprecated.
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 (easier done with lambdas).
|
static AbstractThrowableAssert<?,? extends Throwable> |
BDDAssertions.thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
String description,
Object... args) |
Allows to capture and then assert on a Throwable like thenThrownBy(ThrowingCallable) but this method
let you set the assertion description the same way you do with as(String, Object...) .
|
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.
|
AbstractThrowableAssert<?,? extends Throwable> |
Java6AbstractBDDSoftAssertions.thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
String description,
Object... args) |
Allows to capture and then assert on a Throwable like thenThrownBy(ThrowingCallable) but this method
let you set the assertion description the same way you do with as(String, Object...) .
|
static AbstractThrowableAssert<?,? extends Throwable> |
Java6BDDAssertions.thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
Deprecated.
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,
String description,
Object... args) |
Deprecated.
Allows to capture and then assert on a Throwable like thenThrownBy(ThrowingCallable) but this method
let you set the assertion description the same way you do with as(String, Object...) .
|