Runs the test case.
Document doc;
NodeList elementList;
Node nameNode;
Node psNode;
String psName;
doc = (Document) load("staff", false);
elementList = doc.getElementsByTagName("name");
nameNode = elementList.item(1);
psNode = nameNode.getPreviousSibling();
psName = psNode.getNodeName();
if (equals("#text", psName)) {
psNode = psNode.getPreviousSibling();
psName = psNode.getNodeName();
}
assertEquals("nodeName", "employeeId", psName);