protected void setUp() throws Exception {
   super.setUp();
   try {
     factory = new DOMDocumentBuilderFactory(DOMDocumentBuilderFactory.getConfiguration1());
     builder = factory.getBuilder();
   } catch (Exception e) {
     fail("Unexpected exception" + e.getMessage());
   }
 }
 protected void setUp() throws Exception {
   super.setUp();
   try {
     // Changed to configuration #2. This test case just doesn't make
     // sense without a namespace-aware parser. It actually fails even
     // on the JDK in that case.
     factory = new DOMDocumentBuilderFactory(DOMDocumentBuilderFactory.getConfiguration2());
     builder = factory.getBuilder();
   } catch (Exception e) {
     fail("Unexpected exception" + e.getMessage());
   }
 }
 public void assertURIEquals(
     String assertID,
     String scheme,
     String path,
     String host,
     String file,
     String name,
     String query,
     String fragment,
     Boolean isAbsolute,
     String actual) {
   test.assertURIEquals(
       assertID, scheme, path, host, file, name, query, fragment, isAbsolute, actual);
 }
 public void assertNotNull(String assertID, Object actual) {
   test.assertNotNull(assertID, actual);
 }
 public void assertSame(String assertID, Object expected, Object actual) {
   test.assertSame(assertID, expected, actual);
 }
 public void assertEquals(String assertID, Collection expected, NodeList actual) {
   test.assertEquals(assertID, expected, actual);
 }
 public boolean equalsIgnoreCase(List expected, List actual) {
   return test.equalsIgnoreCase(expected, actual);
 }
 public void assertEqualsIgnoreCase(String assertID, List expected, List actual) {
   test.assertEqualsIgnoreCase(assertID, expected, actual);
 }
 public void assertEquals(String assertID, double expected, double actual) {
   test.assertEquals(assertID, expected, actual);
 }
 public int size(Collection collection) {
   return test.size(collection);
 }
 public void assertSize(String assertID, int expectedSize, Collection collection) {
   test.assertSize(assertID, expectedSize, collection);
 }
 public boolean equals(Collection expected, Collection actual) {
   return test.equals(expected, actual);
 }
 public boolean equals(List expected, List actual) {
   return test.equals(expected, actual);
 }
 public boolean equals(double expected, double actual) {
   return test.equals(expected, actual);
 }
 public boolean equals(int expected, int actual) {
   return test.equals(expected, actual);
 }
 public boolean equals(String expected, String actual) {
   return test.equals(expected, actual);
 }
 public void assertInstanceOf(String assertID, Class cls, Object obj) {
   test.assertInstanceOf(assertID, cls, obj);
 }
 public int size(NamedNodeMap collection) {
   return test.size(collection);
 }
 public void assertSize(String assertID, int expectedSize, NamedNodeMap collection) {
   test.assertSize(assertID, expectedSize, collection);
 }
 public int size(NodeList collection) {
   return test.size(collection);
 }
 public void assertEqualsIgnoreCase(String assertID, Collection expected, Collection actual) {
   test.assertEqualsIgnoreCase(assertID, expected, actual);
 }
 public DOMImplementation getImplementation() {
   return test.getImplementation();
 }
 public void assertEquals(String assertID, int expected, int actual) {
   test.assertEquals(assertID, expected, actual);
 }
 public boolean equalsIgnoreCase(String expected, String actual) {
   return test.equalsIgnoreCase(expected, actual);
 }
 public void assertEquals(String assertID, boolean expected, boolean actual) {
   test.assertEquals(assertID, expected, actual);
 }
 public boolean same(Object expected, Object actual) {
   return test.same(expected, actual);
 }
 public void wait(int millisecond) {
   test.wait(millisecond);
 }
 public boolean equalsIgnoreCase(Collection expected, Collection actual) {
   return test.equalsIgnoreCase(expected, actual);
 }
 protected void tearDown() throws Exception {
   factory = null;
   builder = null;
   super.tearDown();
 }
 public void assertFalse(String assertID, boolean actual) {
   test.assertFalse(assertID, actual);
 }