Runs the test case.
Document doc;
NamedNodeMap attributes;
Node element;
Attr attribute;
NodeList elementList;
doc = (Document) load("staffNS", true);
elementList = doc.getElementsByTagNameNS("http://www.nist.gov", "employee");
element = elementList.item(1);
attributes = element.getAttributes();
{
boolean success = false;
try {
attribute = (Attr) attributes.removeNamedItemNS("http://www.Nist.gov", "domestic");
} catch (DOMException ex) {
success = (ex.code == DOMException.NOT_FOUND_ERR);
}
assertTrue("throw_NOT_FOUND_ERR", success);
}