public void runTest() throws Throwable {
Document doc;
Document newDoc;
DOMImplementation domImpl;
ProcessingInstruction newPI;
ProcessingInstruction imported;
String baseURI;
String docURI;
Node appendedChild;
DocumentType nullDocType = null;
doc = (Document) load("barfoo_base", true);
domImpl = doc.getImplementation();
newDoc = domImpl.createDocument("http://www.w3.org/1999/xhtml", "html", nullDocType);
newPI = newDoc.createProcessingInstruction("TARGET", "DATA");
imported = (ProcessingInstruction) doc.importNode(newPI, true);
appendedChild = doc.appendChild(imported);
baseURI = imported.getBaseURI();
assertURIEquals("equalsBarfooBase", null, null, null, null, "barfoo_base", null, null, Boolean.TRUE, baseURI);
docURI = doc.getDocumentURI();
assertEquals("equalsDocURI", docURI, baseURI);
}
/**