public void runTest() throws Throwable {
  Document doc;
  NodeList emList;
  Node emNode;
  CharacterData emText;
  boolean hasChild;
  doc=(Document)load("hc_staff",false);
  emList=doc.getElementsByTagName("em");
  emNode=emList.item(0);
  emText=(CharacterData)emNode.getFirstChild();
  hasChild=emText.hasChildNodes();
  assertFalse("hasChild",hasChild);
}

public void runTest ( ) throws Throwable { Document doc ; NodeList emList ; Node emNode ; CharacterData emText ; boolean hasChild ; doc = ( Document ) load ( "hc_staff" , false ) ; emList = doc . getElementsByTagName ( "em" ) ; emNode = emList . item ( 0 ) ; emText = ( CharacterData ) emNode . getFirstChild ( ) ; hasChild = emText . hasChildNodes ( ) ; assertFalse ( "hasChild" , hasChild ) ; }
runs the test case .
