assertEquals ("only one element", 1, list.size ());
assertType ("should be BodyTag", BodyTag.class, list.elementAt (0));
BodyTag body = (BodyTag)list.elementAt (0);
assertEquals ("only one child", 1, body.getChildCount ());
assertSuperType ("should be Text", Text.class, body.getChildren ().elementAt (0));
assertStringEquals("html", guts, body.toHtml ());
}
/**
* Test tag name filtering.