assertTrue ("column should have 1 node", 1 == column.getChildCount ());
assertType ("element", Div.class, column.childAt (0));
Div div = (Div)column.childAt (0);
assertTrue ("div should have 3 nodes", 3 == div.getChildCount ());
assertType ("link", LinkTag.class, div.childAt (1));
LinkTag link = (LinkTag)div.childAt (1);
assertTrue ("link contents", link.getLink ().equals ("http://www.nba.com/heat/"));
assertType ("bogus div", Div.class, div.childAt (2));
assertTrue ("bogus div should have no children", 0 == ((Div)div.childAt (2)).getChildCount ());
}