T - The "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details.public interface AssertOnColumnNullity<T extends AssertOnColumnNullity<T>>
| Modifier and Type | Method and Description |
|---|---|
T |
hasOnlyNotNullValues()
Verifies that all the values of the column are not
null. |
T |
hasOnlyNullValues()
Verifies that all the values of the column are
null. |
T hasOnlyNullValues()
null.
Example where the assertion verifies that all the values in the first Column of the Table are
null :
assertThat(table).column().hasOnlyNullValues();
this assertion object.AssertionError - If at least one of the values of the column are not null.AbstractColumnAssert.hasOnlyNullValues()T hasOnlyNotNullValues()
null.
Example where the assertion verifies that all the values in the first Column of the Table are not
null :
assertThat(table).column().hasOnlyNotNullValues();
this assertion object.AssertionError - If at least one of the values of the column are null.AbstractColumnAssert.hasOnlyNotNullValues()Copyright © 2015 AssertJ. All Rights Reserved.