/**
  * Runs the test case.
  *
  * @throws Throwable Any uncaught exception causes test to fail
  */
 public void runTest() throws Throwable {
   Document doc;
   NodeList elementList;
   Node testEmployee;
   NamedNodeMap attributes;
   Attr streetAttr;
   String value;
   Node removedNode;
   doc = (Document) load("staff", true);
   elementList = doc.getElementsByTagName("address");
   testEmployee = elementList.item(2);
   attributes = testEmployee.getAttributes();
   assertNotNull("attributesNotNull", attributes);
   removedNode = attributes.removeNamedItem("street");
   streetAttr = (Attr) attributes.getNamedItem("street");
   assertNotNull("streetAttrNotNull", streetAttr);
   value = streetAttr.getValue();
   assertEquals("namednodemapRemoveNamedItemGetValueAssert", "Yes", value);
 }