Runs the test case.
Document doc;
NamedNodeMap attributes;
Element docElem;
Element newElem;
doc = (Document) load("hc_staff", builder);
docElem = doc.getDocumentElement();
attributes = docElem.getAttributes();
newElem = doc.createElement("html");
{
boolean success = false;
try {
attributes.setNamedItem(newElem);
} catch (DOMException ex) {
success = (ex.code == DOMException.HIERARCHY_REQUEST_ERR);
}
assertTrue("throw_HIERARCHY_REQUEST_ERR", success);
}