Runs the test case.
Document doc;
NodeList elementList;
Element testEmployee;
NamedNodeMap attributes;
Node removedNode;
doc = (Document) load("staff", true);
elementList = doc.getElementsByTagName("address");
testEmployee = (Element) elementList.item(2);
attributes = testEmployee.getAttributes();
{
boolean success = false;
try {
removedNode = attributes.removeNamedItem("district");
} catch (DOMException ex) {
success = (ex.code == DOMException.NOT_FOUND_ERR);
}
assertTrue("throw_NOT_FOUND_ERR", success);
}