Runs the test case.
Document doc;
NodeList elementList;
Element entRefAddr;
Node entRefNode;
String entRefValue;
int nodeType;
doc = (Document) load("staff", false);
elementList = doc.getElementsByTagName("address");
entRefAddr = (Element) elementList.item(1);
entRefNode = entRefAddr.getFirstChild();
nodeType = (int) entRefNode.getNodeType();
if (equals(3, nodeType)) {
entRefNode = doc.createEntityReference("ent2");
assertNotNull("createdEntRefNotNull", entRefNode);
}
entRefValue = entRefNode.getNodeValue();
assertNull("entRefNodeValue", entRefValue);