parseAndAssertNodeCount(1);
assertType("only tag should be a HTML tag", Html.class,node[0]);
Html html = (Html)node[0];
assertEquals("html tag should have 4 children", 4, html.getChildCount ());
assertType("second tag",TableTag.class,html.getChild (1));
TableTag table = (TableTag)html.getChild (1);
assertEquals("rows",3,table.getRowCount());
TableRow tr = table.getRow(2);
assertEquals("columns",1,tr.getColumnCount());
TableColumn td = tr.getColumns()[0];
Node node = td.childAt(1);
assertType("node",TableTag.class,node);
TableTag table2 = (TableTag)node;
assertEquals("second table row count",1,table2.getRowCount());
tr = table2.getRow(0);
assertEquals("second table col count",2,tr.getColumnCount());
}