| Constructor and Description |
|---|
ExceptionCondition(Throwable value)
Creates a new instance of
Ensure.BooleanCondition. |
| Modifier and Type | Method and Description |
|---|---|
void |
isNeverThrown(String explanation,
Object... args)
Ensures that the exception is never thrown.
|
public ExceptionCondition(@CheckForNull
Throwable value)
Ensure.BooleanCondition.value - value of the condition@FormatMethod public void isNeverThrown(String explanation, Object... args)
AssertionError.explanation - a formatted message explaining the assertionargs - Arguments referenced by the format specifiers in the formatted explanation. If there are more
arguments than format specifiers, the extra arguments are ignored. The number of arguments is
variable and may be zero.AssertionError - always thrownCopyright © 2018. All rights reserved.