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 AssertOnNumberOfRows<T extends AssertOnNumberOfRows<T>>
T hasNumberOfRows(int expected)
Example where the assertion verifies that the table has 2 rows :
Example where the assertion verifies that the column with index 1 of the table has 5 rows :
Copyright © 2015 AssertJ. All Rights Reserved.