A class that can be used to analyze the correctness of the program's behavior. More...
Static Public Member Functions | |
static void | NotNull (Object object, String message) |
Throws AssertionError if the given object is null. More... | |
static void | Null (Object object, String message) |
Throws AssertionError if the given object is not null. More... | |
static void | Throw (String message) |
Throws AssertionError with the given message. More... | |
static void | True (boolean condition, String message) |
Throws AssertionError if the given condition is false. More... | |
A class that can be used to analyze the correctness of the program's behavior.
|
static |
Throws AssertionError if the given object is null.
object | The object to check. |
message | The message to attach to the error. |
|
static |
Throws AssertionError if the given object is not null.
object | The object to check. |
message | The message to attach to the error. |
|
static |
Throws AssertionError with the given message.
message | The message to attach to the error. |
|
static |
Throws AssertionError if the given condition is false.
condition | The condition to evaluate. |
message | The message to attach to the error. |