Runs the test case.
Document doc;
NodeList elementList;
Node anotherElement;
NamedNodeMap anotherMap;
Node arg;
Node testAddress;
NamedNodeMap map;
Node setNode;
doc = (Document) load("staffNS", true);
elementList = doc.getElementsByTagName("address");
anotherElement = elementList.item(2);
anotherMap = anotherElement.getAttributes();
arg = anotherMap.getNamedItemNS("http://www.netzero.com", "domestic");
testAddress = elementList.item(0);
map = testAddress.getAttributes();
{
boolean success = false;
try {
setNode = map.setNamedItemNS(arg);
} catch (DOMException ex) {
success = (ex.code == DOMException.INUSE_ATTRIBUTE_ERR);
}
assertTrue("throw_INUSE_ATTRIBUTE_ERR", success);
}