Runs the test case.
Document doc;
Node refChild;
Node newChild;
NodeList elementList;
Node elementNode;
Node insertedNode;
doc = (Document) load("hc_staff", true);
newChild = doc.createElement("br");
refChild = doc.createElement("b");
elementList = doc.getElementsByTagName("p");
elementNode = elementList.item(1);
{
boolean success = false;
try {
insertedNode = elementNode.insertBefore(newChild, refChild);
} catch (DOMException ex) {
success = (ex.code == DOMException.NOT_FOUND_ERR);
}
assertTrue("throw_NOT_FOUND_ERR", success);
}