public class JedisAsserts
extends java.lang.Object
| Constructor and Description |
|---|
JedisAsserts() |
| Modifier and Type | Method and Description |
|---|---|
static void |
isTrue(boolean value,
java.lang.String message)
Assert that
value is true. |
static void |
notNull(java.lang.Object object,
java.lang.String message)
Assert that an object is not
null . |
public static void notNull(java.lang.Object object,
java.lang.String message)
null .object - the object to checkmessage - the exception message to use if the assertion failsjava.lang.IllegalArgumentException - if the object is nullpublic static void isTrue(boolean value,
java.lang.String message)
value is true.value - the value to checkmessage - the exception message to use if the assertion failsjava.lang.IllegalArgumentException - if the value is falseCopyright © 2025. All rights reserved.