| Package | Description |
|---|---|
| org.assertj.core.api | |
| org.assertj.core.configuration |
| Modifier and Type | Method and Description |
|---|---|
static PreferredAssumptionException |
AssumptionExceptionFactory.getPreferredAssumptionException() |
| Modifier and Type | Method and Description |
|---|---|
default void |
WithAssumptions.setPreferredAssumptionException(PreferredAssumptionException preferredAssumptionException)
Sets which exception is thrown if an assumption is not met.
|
static void |
BDDAssumptions.setPreferredAssumptionException(PreferredAssumptionException preferredAssumptionException)
Sets which exception is thrown if an assumption is not met.
|
static void |
Assumptions.setPreferredAssumptionException(PreferredAssumptionException preferredAssumptionException)
Sets which exception is thrown if an assumption is not met.
|
| Modifier and Type | Field and Description |
|---|---|
static PreferredAssumptionException |
Configuration.PREFERRED_ASSUMPTION_EXCEPTION |
| Modifier and Type | Method and Description |
|---|---|
PreferredAssumptionException |
Configuration.preferredAssumptionException()
Returns which exception is thrown if an assumption is not met.
|
static PreferredAssumptionException |
PreferredAssumptionException.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreferredAssumptionException[] |
PreferredAssumptionException.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Configuration.setPreferredAssumptionException(PreferredAssumptionException preferredAssumptionException)
Sets which exception is thrown if an assumption is not met.
|
Copyright © 2025. All rights reserved.