Runs the test case.
Document doc;
Attr oldAttribute;
NodeList addressElementList;
Element testAddress;
Attr attrAddress;
doc = (Document) load("hc_staff", true);
addressElementList = doc.getElementsByTagName("acronym");
testAddress = (Element) addressElementList.item(4);
oldAttribute = doc.createAttribute("title");
{
boolean success = false;
try {
attrAddress = testAddress.removeAttributeNode(oldAttribute);
} catch (DOMException ex) {
success = (ex.code == DOMException.NOT_FOUND_ERR);
}
assertTrue("throw_NOT_FOUND_ERR", success);
}