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