Runs the test case.
Document doc;
NodeList elementList;
Element testAddr;
NamedNodeMap addrAttr;
Node attrNode;
String attrName;
java.util.Collection attrList = new java.util.ArrayList();
java.util.Collection expected = new java.util.ArrayList();
expected.add("domestic");
expected.add("street");
doc = (Document) load("staff", false);
elementList = doc.getElementsByTagName("address");
testAddr = (Element) elementList.item(2);
addrAttr = testAddr.getAttributes();
for (int indexN1005C = 0; indexN1005C < addrAttr.getLength(); indexN1005C++) {
attrNode = (Node) addrAttr.item(indexN1005C);
attrName = attrNode.getNodeName();
attrList.add(attrName);
}
assertEquals("nodeElementNodeValueAssert1", expected, attrList);