Class AssertionsOnValueNullity
java.lang.Object
org.assertj.db.api.assertions.impl.AssertionsOnValueNullity
Implements the assertion methods on the nullity of a value.
- Author:
- Régis Pouiller
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A extends AbstractAssert<?>>
AVerifies that the value is notnull.static <A extends AbstractAssert<?>>
AVerifies that the value isnull.
-
Method Details
-
isNull
public static <A extends AbstractAssert<?>> A isNull(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value value) Verifies that the value isnull.- Type Parameters:
A- The type of the assertion which call this method.- Parameters:
assertion- The assertion which call this method.info- Writable information about an assertion.value- The value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is notnull.
-
isNotNull
public static <A extends AbstractAssert<?>> A isNotNull(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value value) Verifies that the value is notnull.- Type Parameters:
A- The type of the assertion which call this method.- Parameters:
assertion- The assertion which call this method.info- Writable information about an assertion.value- The value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value isnull.
-