Runs the test case.
Document doc;
Element element;
Element element2;
Attr attribute;
Attr attributeCloned;
Attr newAttr;
NodeList elementList;
String attrName;
String attrValue;
String nullNS = null;
doc = (Document) load("staffNS", true);
elementList = doc.getElementsByTagNameNS("http://www.nist.gov", "address");
element = (Element) elementList.item(1);
attribute = element.getAttributeNodeNS(nullNS, "street");
attributeCloned = (Attr) attribute.cloneNode(true);
element2 = (Element) elementList.item(2);
newAttr = element2.setAttributeNodeNS(attributeCloned);
attrName = newAttr.getNodeName();
attrValue = newAttr.getNodeValue();
assertEquals("elementsetattributenodens02_attrName", "street", attrName);
assertEquals("elementsetattributenodens02_attrValue", "Yes", attrValue);