//ModelPrinter.INSTANCE.print(pageBox);
final RenderNode[] elementsByNodeType = MatchFactory.findElementsByNodeType(pageBox, LayoutNodeTypes.TYPE_BOX_TABLE_SECTION);
Assert.assertEquals(2, elementsByNodeType.length);
final TableSectionRenderBox header = (TableSectionRenderBox) elementsByNodeType[0];
Assert.assertEquals(TableSectionRenderBox.Role.HEADER, header.getDisplayRole());
final TableSectionRenderBox body = (TableSectionRenderBox) elementsByNodeType[1];
Assert.assertEquals(TableSectionRenderBox.Role.BODY, body.getDisplayRole());
final RenderNode[] rows = MatchFactory.findElementsByNodeType(body, LayoutNodeTypes.TYPE_BOX_TABLE_ROW);
Assert.assertTrue("Have rows on page " + page, rows.length > 0);
Assert.assertEquals("Header starts at top of page " + page, pageOffset + offset, header.getY());
Assert.assertEquals("Row starts after the header on page " + page, header.getY() + header.getHeight(), rows[0].getY());