table.setVisibleRange(0, 10);
populateData(table);
table.getPresenter().flush();
// Verify the structure.
TableSectionElement tbody = table.getTableBodyElement();
assertEquals(14, tbody.getChildCount());
assertEquals("child 0", getBodyElement(table, 6, 0).getInnerText());
assertEquals("child 1", getBodyElement(table, 7, 0).getInnerText());
assertEquals("child 2", getBodyElement(table, 8, 0).getInnerText());
assertEquals("child 3", getBodyElement(table, 9, 0).getInnerText());