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.
|
static AbstractThrowableAssert<?,? extends Throwable> |
Java6Assertions.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) |
Deprecated.
Allows to capture and then assert on a Throwable .
|
default AbstractThrowableAssert<?,? extends Throwable> |
Java6StandardSoftAssertionsProvider.assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) |
Allows to capture and then assert on a Throwable more easily when used with Java 8 lambdas.
|
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...) .
|
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> |
Java6StandardSoftAssertionsProvider.assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
Allows to capture and then assert on a Throwable more easily when used with Java 8 lambdas.
|
default AbstractThrowableAssert<?,? extends Throwable> |
Java6StandardSoftAssertionsProvider.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...) .
|
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 Exception |
Assertions.catchException(ThrowableAssert.ThrowingCallable shouldRaiseException) |
|
static Exception |
BDDAssertions.catchException(ThrowableAssert.ThrowingCallable shouldRaiseException) |
|
default Exception |
WithAssertions.catchException(ThrowableAssert.ThrowingCallable shouldRaiseException) |
|
static IllegalArgumentException |
Assertions.catchIllegalArgumentException(ThrowableAssert.ThrowingCallable shouldRaiseIllegalArgumentException) |
|
static IllegalArgumentException |
BDDAssertions.catchIllegalArgumentException(ThrowableAssert.ThrowingCallable shouldRaiseIllegalArgumentException) |
|
default IllegalArgumentException |
WithAssertions.catchIllegalArgumentException(ThrowableAssert.ThrowingCallable shouldRaiseIllegalArgumentException) |
|
static IllegalStateException |
Assertions.catchIllegalStateException(ThrowableAssert.ThrowingCallable shouldRaiseIllegalStateException) |
|
static IllegalStateException |
BDDAssertions.catchIllegalStateException(ThrowableAssert.ThrowingCallable shouldRaiseIllegalStateException) |
|
default IllegalStateException |
WithAssertions.catchIllegalStateException(ThrowableAssert.ThrowingCallable shouldRaiseIllegalStateException) |
|
static IndexOutOfBoundsException |
Assertions.catchIndexOutOfBoundsException(ThrowableAssert.ThrowingCallable shouldRaiseIndexOutOfBoundException) |
|
static IndexOutOfBoundsException |
BDDAssertions.catchIndexOutOfBoundsException(ThrowableAssert.ThrowingCallable shouldRaiseIndexOutOfBoundException) |
|
default IndexOutOfBoundsException |
WithAssertions.catchIndexOutOfBoundsException(ThrowableAssert.ThrowingCallable shouldRaiseIndexOutOfBoundException) |
|
static IOException |
Assertions.catchIOException(ThrowableAssert.ThrowingCallable shouldRaiseIOException) |
|
static IOException |
BDDAssertions.catchIOException(ThrowableAssert.ThrowingCallable shouldRaiseIOException) |
|
default IOException |
WithAssertions.catchIOException(ThrowableAssert.ThrowingCallable shouldRaiseIOException) |
|
static NullPointerException |
Assertions.catchNullPointerException(ThrowableAssert.ThrowingCallable shouldRaiseNullPointerException) |
|
static NullPointerException |
BDDAssertions.catchNullPointerException(ThrowableAssert.ThrowingCallable shouldRaiseNullPointerException) |
|
default NullPointerException |
WithAssertions.catchNullPointerException(ThrowableAssert.ThrowingCallable shouldRaiseNullPointerException) |
|
static ReflectiveOperationException |
Assertions.catchReflectiveOperationException(ThrowableAssert.ThrowingCallable shouldRaiseReflectiveOperationException) |
|
static ReflectiveOperationException |
BDDAssertions.catchReflectiveOperationException(ThrowableAssert.ThrowingCallable shouldRaiseReflectiveOperationException) |
|
default ReflectiveOperationException |
WithAssertions.catchReflectiveOperationException(ThrowableAssert.ThrowingCallable shouldRaiseReflectiveOperationException) |
|
static RuntimeException |
Assertions.catchRuntimeException(ThrowableAssert.ThrowingCallable shouldRaiseRuntimeException) |
|
static RuntimeException |
BDDAssertions.catchRuntimeException(ThrowableAssert.ThrowingCallable shouldRaiseRuntimeException) |
|
default RuntimeException |
WithAssertions.catchRuntimeException(ThrowableAssert.ThrowingCallable shouldRaiseRuntimeException) |
|
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 |
BDDAssertions.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 |
BDDAssertions.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.
|
static AbstractThrowableAssert<?,? extends Throwable> |
BDDAssumptions.givenCode(ThrowableAssert.ThrowingCallable lambda) |
Creates a new assumption's instance from a no parameters lambda expression, () -> { /* some code */ } .
|
void |
NotThrownAssert.isThrownBy(ThrowableAssert.ThrowingCallable code) |
Assert that no exception of any type is thrown by the throwingCallable .
|
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> |
Java6BDDAssertions.thenCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) |
Deprecated.
Allows to capture and then assert on a Throwable more easily when used with Java 8 lambdas.
|
default AbstractThrowableAssert<?,? extends Throwable> |
Java6BDDSoftAssertionsProvider.thenCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) |
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...) .
|
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...) .
|
default AbstractThrowableAssert<?,? extends Throwable> |
Java6BDDSoftAssertionsProvider.thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) |
Allows to capture and then assert on a Throwable more easily when used with Java 8 lambdas.
|
default AbstractThrowableAssert<?,? extends Throwable> |
Java6BDDSoftAssertionsProvider.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...) .
|