Runs the test case.
Document doc;
NodeList acronymList;
Node testNode;
NamedNodeMap attributes;
Attr titleAttr;
String value;
Text terNode;
Text dayNode;
DocumentFragment docFrag;
Node retval;
Node firstChild;
Node lastChild;
Node refChild = null;
doc = (Document) load("hc_staff", true);
acronymList = doc.getElementsByTagName("acronym");
testNode = acronymList.item(3);
attributes = testNode.getAttributes();
titleAttr = (Attr) attributes.getNamedItem("title");
terNode = doc.createTextNode("ter");
dayNode = doc.createTextNode("day");
docFrag = doc.createDocumentFragment();
retval = docFrag.appendChild(terNode);
retval = docFrag.appendChild(dayNode);
retval = titleAttr.insertBefore(docFrag, refChild);
value = titleAttr.getValue();
assertEquals("attrValue", "Yesterday", value);
value = titleAttr.getNodeValue();
assertEquals("attrNodeValue", "Yesterday", value);
value = retval.getNodeValue();
assertNull("retvalValue", value);
firstChild = titleAttr.getFirstChild();
value = firstChild.getNodeValue();
assertEquals("firstChildValue", "Yes", value);
lastChild = titleAttr.getLastChild();
value = lastChild.getNodeValue();
assertEquals("lastChildValue", "day", value);