Class AssertionsOnValuesNullity
java.lang.Object
org.assertj.db.api.assertions.impl.AssertionsOnValuesNullity
Implements the assertion methods on the nullity of a values of a column/row.
- Author:
- Régis Pouiller
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A extends AbstractAssert<?>>
AhasOnlyNotNullValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, List<Value> valuesList) Verifies that all the values of the column are notnull
.static <A extends AbstractAssert<?>>
AhasOnlyNullValues
(A assertion, org.assertj.core.api.WritableAssertionInfo info, List<Value> valuesList) Verifies that all the values of the column arenull
.
-
Method Details
-
hasOnlyNullValues
public static <A extends AbstractAssert<?>> A hasOnlyNullValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, List<Value> valuesList) Verifies that all the values of the column arenull
.- 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.valuesList
- The list of values.- Returns:
this
assertion object.- Throws:
AssertionError
- If at least one of the values of the column are notnull
.
-
hasOnlyNotNullValues
public static <A extends AbstractAssert<?>> A hasOnlyNotNullValues(A assertion, org.assertj.core.api.WritableAssertionInfo info, List<Value> valuesList) Verifies that all the values of the column are 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.valuesList
- The list of values.- Returns:
this
assertion object.- Throws:
AssertionError
- If at least one of the values of the column arenull
.
-