Runs the test case.
Document doc;
NodeList elementList;
Element testName;
Node cdataNode;
int nodeType;
doc = (Document) load("staff", false);
elementList = doc.getElementsByTagName("name");
testName = (Element) elementList.item(1);
cdataNode = testName.getLastChild();
nodeType = (int) cdataNode.getNodeType();
if (equals(3, nodeType)) {
cdataNode = doc.createCDATASection("");
nodeType = (int) cdataNode.getNodeType();
}
assertEquals("nodeTypeCDATA", 4, nodeType);