TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout();
//
List<RowInfo> rows = layout.getRows();
assertThat(rows).hasSize(2);
{
RowInfo row = rows.get(0);
assertEquals(0, row.getIndex());
assertFalse(row.isEmpty());
}
{
RowInfo row = rows.get(1);
assertEquals(1, row.getIndex());
assertFalse(row.isEmpty());
}
}