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 AssertOnRowEquality<T extends AssertOnRowEquality<T>>
Modifier and Type | Method and Description |
---|---|
T |
hasValues(Object... expected)
Verifies that the values of a row are equal to values in parameter.
|
T hasValues(Object... expected)
Example where the assertion verifies that the values in the first Row
of the Table
are 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));
expected
- The expected values.this
assertion object.AssertionError
- If the values of the row are not equal to the values in parameters.AbstractRowAssert.hasValues(Object...)
,
ChangeRowAssert.hasValues(Object...)
Copyright © 2020 AssertJ. All rights reserved.