Runs the test case.
Document doc;
DocumentType docType;
String docTypeName;
String nodeValue;
NamedNodeMap attributes;
doc = (Document) load("hc_staff", false);
docType = doc.getDoctype();
if (
!(("text/html".equals(getContentType())))
) {
assertNotNull("docTypeNotNull", docType);
}
if ((docType != null)) {
docTypeName = docType.getName();
if (("image/svg+xml".equals(getContentType()))) {
assertEquals("nodeNameSVG", "svg", docTypeName);
} else {
assertEquals("nodeName", "html", docTypeName);
}
nodeValue = docType.getNodeValue();
assertNull("nodeValue", nodeValue);
attributes = docType.getAttributes();
assertNull("attributes", attributes);
}