Runs the test case.
Document doc;
NodeList elementList;
Element entRefAddr;
Node entRefNode;
NamedNodeMap attrList;
int nodeType;
doc = (Document) load("staff", true);
elementList = doc.getElementsByTagName("address");
entRefAddr = (Element) elementList.item(1);
entRefNode = entRefAddr.getFirstChild();
nodeType = (int) entRefNode.getNodeType();
if (!equals(5, nodeType)) {
entRefNode = doc.createEntityReference("ent2");
assertNotNull("createdEntRefNotNull", entRefNode);
}
attrList = entRefNode.getAttributes();
assertNull("attrList", attrList);