public class Assume
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
that(boolean condition)
If condition does not hold, the current property method will be aborted,
i.e., it will not be executed but not counted as a try.
|
static void |
that(java.util.function.Supplier<java.lang.Boolean> conditionSupplier)
If condition provided by conditionSupplier does not hold, the current property method will be aborted,
i.e., it will not be executed but not counted as a try.
|
public static void that(boolean condition)
condition
- public static void that(java.util.function.Supplier<java.lang.Boolean> conditionSupplier)
conditionSupplier
-