Runs the test case.
Document doc;
Node entRef;
Node entText;
Text splitNode;
doc = (Document) load("staff", true);
entRef = doc.createEntityReference("ent3");
assertNotNull("createdEntRefNotNull", entRef);
entText = entRef.getFirstChild();
assertNotNull("entTextNotNull", entText);
{
boolean success = false;
try {
splitNode = ((Text) /*Node */entText).splitText(2);
} catch (DOMException ex) {
success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR);
}
assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR", success);
}