Runs the test case.
Document doc;
NodeList elementList;
Node testEmployee;
NamedNodeMap attributes;
Node child;
String strong;
int length;
doc = (Document) load("hc_staff", false);
elementList = doc.getElementsByTagName("acronym");
testEmployee = elementList.item(2);
attributes = testEmployee.getAttributes();
length = (int) attributes.getLength();
if (("text/html".equals(getContentType()))) {
assertEquals("htmlLength", 2, length);
} else {
assertEquals("length", 3, length);
child = attributes.item(2);
assertNotNull("attr2", child);
}
child = attributes.item(0);
assertNotNull("attr0", child);
child = attributes.item(1);
assertNotNull("attr1", child);
child = attributes.item(3);
assertNull("attr3", child);