Package org.assertj.db.api.assertions
Interface AssertOnRowEquality<T extends AssertOnRowEquality<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,ChangeRowAssert,RequestRowAssert,TableRowAssert
public interface AssertOnRowEquality<T extends AssertOnRowEquality<T>>
Defines the assertion method on the equality of a row.
- Author:
- Régis Pouiller
-
Method Summary
-
Method Details
-
hasValues
Verifies that the values of a row are equal to values in parameter.Example where the assertion verifies that the values in the first
Rowof theTableare equal to the values in parameter :assertThat(table).row().hasValues(1, "Text", TimeValue.of(9, 1));Example where the assertion verifies that the values of the row at end point of the first change are equal to the values in parameter :
assertThat(changes).change().rowAtEndPoint().hasValues(1, "Text", TimeValue.of(9, 1));- Parameters:
expected- The expected values.- Returns:
thisassertion object.- Throws:
AssertionError- If the values of the row are not equal to the values in parameters.- See Also:
-