public void testGetOwnerDocument1() throws Throwable {
  Document doc;
  Document ownerDoc;
  DOMImplementation domImpl;
  DocumentType docType;
  String nullID=null;
  doc=(Document)load("staff",builder);
  domImpl=doc.getImplementation();
  docType=domImpl.createDocumentType("mydoc",nullID,nullID);
  ownerDoc=docType.getOwnerDocument();
  assertNull("nodegetownerdocument01",ownerDoc);
}

public void testGetOwnerDocument1 ( ) throws Throwable { Document doc ; Document ownerDoc ; DOMImplementation domImpl ; DocumentType docType ; String nullID = null ; doc = ( Document ) load ( "staff" , builder ) ; domImpl = doc . getImplementation ( ) ; docType = domImpl . createDocumentType ( "mydoc" , nullID , nullID ) ; ownerDoc = docType . getOwnerDocument ( ) ; assertNull ( "nodegetownerdocument01" , ownerDoc ) ; }
runs the test case .
