Runs the test case.
Document doc;
NamedNodeMap attributes;
Node element;
Attr attribute;
Attr newAttribute;
Attr attribute1;
Attr attribute2;
String nodeName;
doc = (Document) load("staffNS", true);
element = doc.createElementNS("http://www.w3.org/DOM/Test", "root");
attribute1 = doc.createAttributeNS("http://www.w3.org/DOM/L1", "L1:att");
newAttribute = ((Element) /*Node */element).setAttributeNodeNS(attribute1);
attribute2 = doc.createAttributeNS("http://www.w3.org/DOM/L2", "L2:att");
newAttribute = ((Element) /*Node */element).setAttributeNodeNS(attribute2);
attributes = element.getAttributes();
attribute = (Attr) attributes.removeNamedItemNS("http://www.w3.org/DOM/L1", "att");
attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L2", "att");
nodeName = attribute.getNodeName();
assertEquals("namednodemapremovenameditemns02", "L2:att", nodeName);