public class Asserts extends Object
Modifier and Type | Method and Description |
---|---|
static void |
check(boolean expression,
String message) |
static void |
check(boolean expression,
String message,
Object... args) |
static void |
check(boolean expression,
String message,
Object arg) |
static void |
notBlank(CharSequence s,
String name) |
static void |
notEmpty(CharSequence s,
String name) |
static void |
notNull(Object object,
String name) |
public static void check(boolean expression, String message)
public static void notBlank(CharSequence s, String name)
public static void notEmpty(CharSequence s, String name)