Runs the test case.
Document doc;
NodeList elementList;
Node commentNode;
String commentName;
String commentValue;
doc = (Document) load("hc_staff", false);
elementList = doc.getChildNodes();
for (int indexN10040 = 0; indexN10040 < elementList.getLength(); indexN10040++) {
commentNode = (Node) elementList.item(indexN10040);
commentName = commentNode.getNodeName();
if (equals("#comment", commentName)) {
commentValue = commentNode.getNodeValue();
assertEquals("value", " This is comment number 1.", commentValue);
}
}
commentNode = doc.createComment(" This is a comment");
commentValue = commentNode.getNodeValue();
assertEquals("createdCommentNodeValue", " This is a comment", commentValue);