Runs the test case.
Document doc;
NodeList elementList;
Node employeeNode;
NodeList employeeList;
Node child;
int length;
String childName;
doc = (Document) load("staff", false);
elementList = doc.getElementsByTagName("employee");
employeeNode = elementList.item(2);
employeeList = employeeNode.getChildNodes();
length = (int) employeeList.getLength();
if (equals(6, length)) {
child = employeeList.item(1);
} else {
child = employeeList.item(3);
}
childName = child.getNodeName();
assertEquals("nodeName", "name", childName);