static Assertion |
Assertion.check() |
|
Assertion |
Assertion.isFalse(boolean test,
String msg,
Object... params) |
Checks if a boolean expression is False
Throws an IllegalStateException with a pretty message if not.
|
Assertion |
Assertion.isNotBlank(String str) |
Checks if a string is not blank (and not empty).
|
Assertion |
Assertion.isNotBlank(String str,
String msg,
Object... params) |
Checks if a string is not blank (and not empty).
|
Assertion |
Assertion.isNotNull(Object o) |
Checks if an object is not null.
|
Assertion |
Assertion.isNotNull(Object o,
String msg,
Object... params) |
Checks if an object is not null.
|
Assertion |
Assertion.isNull(Object o) |
Checks if an object is null.
|
Assertion |
Assertion.isNull(Object o,
String msg,
Object... params) |
Checks if an object is null.
|
Assertion |
Assertion.isTrue(boolean test,
String msg,
Object... params) |
Checks if a boolean expression is True
Throws an IllegalStateException with a pretty message if not.
|
Assertion |
Assertion.isValid(Supplier<Assertion> assertionSupplier) |
Checks if an assertion supplied is valid.
|
Assertion |
Assertion.when(boolean condition,
Supplier<Assertion> assertionSupplier) |
Evaluates an assertion when a condition is fulfilled.
|