public final class Assertion extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
isFalse(boolean condition,
String message)
Is false.
|
static void |
isNotEmpty(String stringToCheck,
String message)
Is not empty.
|
static void |
isNotNull(Object object,
String message)
Is not null.
|
static void |
isNull(Object object,
String message)
Is null.
|
static void |
isTrue(boolean expression,
String message)
Is true.
|
public static void isNull(Object object, String message)
object - the objectmessage - the messagepublic static void isNotNull(Object object, String message)
object - the objectmessage - the messagepublic static void isNotEmpty(String stringToCheck, String message)
stringToCheck - the string to checkmessage - the messagepublic static void isTrue(boolean expression,
String message)
expression - the expressionmessage - the messagepublic static void isFalse(boolean condition,
String message)
condition - the conditionmessage - the messageCopyright © 2015–2019 OREGOR LTD. All rights reserved.