Runs the test case.
Document doc;
NodeList elementList;
Element cdataName;
NodeList childList;
Node child;
String cdataNodeValue;
doc = (Document) load("staff", false);
elementList = doc.getElementsByTagName("name");
cdataName = (Element) elementList.item(1);
childList = cdataName.getChildNodes();
child = childList.item(1);
if ((child == null)) {
child = doc.createCDATASection("This is a CDATASection with EntityReference number 2 &ent2;");
}
cdataNodeValue = child.getNodeValue();
assertEquals("value", "This is a CDATASection with EntityReference number 2 &ent2;", cdataNodeValue);