assertEquals(0, root.getParameters().size());
assertEmptyValue(root.getContent());
}
public void testTemplateWithBadAttr() throws Exception {
ParsedAttribute spaz = attr("spaz", "I don't exist!");
ParsedElement template = template(list(attr("name", "pkg.Test"), spaz));
expectedAlerts.add(new UnknownAttributeError(template, spaz));
IfExpandedTree parseTree = tree(template);
ReparentedTree output = reparent(parseTree);
assertOneRoot(output);