public final class IllegalArgumentAssertion extends Object
Modifier and Type | Method and Description |
---|---|
static Boolean |
assertFalse(Boolean value,
String message)
Throws an IllegalArgumentException when the given value is not false.
|
static <T> T |
assertNotNull(T value,
String name)
Throws an IllegalArgumentException when the given value is null.
|
static Boolean |
assertTrue(Boolean value,
String message)
Throws an IllegalArgumentException when the given value is not true.
|
Copyright © 2015. All rights reserved.