Package org.assertj.db.api.assertions
Interface AssertOnRowNullity<T extends AssertOnRowNullity<T>>
- Type Parameters:
T- The "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation" for more details.
- All Known Implementing Classes:
AbstractRowAssert,RequestRowAssert,TableRowAssert
public interface AssertOnRowNullity<T extends AssertOnRowNullity<T>>
Defines the assertion methods on the nullity of a values of a row.
- Since:
- 1.2.0
- Author:
- fiery-phoenix
-
Method Summary
Modifier and TypeMethodDescriptionVerifies that all the values of the row are notnull.
-
Method Details
-
hasOnlyNotNullValues
T hasOnlyNotNullValues()Verifies that all the values of the row are notnull.Example where the assertion verifies that all the values in the first
Rowof theTableare notnull:assertThat(table).row().hasOnlyNotNullValues();- Returns:
thisassertion object.- Throws:
AssertionError- If at least one of the values of the row isnull.- See Also:
-