@Test public void testMerge() throws Exception { XMLUnit.setIgnoreWhitespace(true); Diff diff; String from_overrides_to_xml = _str_puller.pull(FROM_OVERRIDES_TO_XML, getClass()); diff = XMLUnit.compareXML(from_overrides_to_xml, merge(true)); Assert.assertTrue(diff.toString(), diff.identical()); String from_doesnt_override_to_xml = _str_puller.pull(FROM_DOESNT_OVERRIDE_TO_XML, getClass()); diff = XMLUnit.compareXML(from_doesnt_override_to_xml, merge(false)); Assert.assertTrue(diff.toString(), diff.identical()); }
public static Configuration merge(Configuration fromConfig, Configuration toConfig) { return merge(fromConfig, toConfig, true); }
Configurations { public static Configuration merge(Configuration fromConfig, Configuration toConfig) { return merge(fromConfig, toConfig, true); } }
Configurations { public static Configuration merge(Configuration fromConfig, Configuration toConfig) { return merge(fromConfig, toConfig, true); } private  Configurations(); }
Configurations { public static Configuration merge(Configuration fromConfig, Configuration toConfig) { return merge(fromConfig, toConfig, true); } private  Configurations(); static Configuration newConfiguration(); static Configuration newConfiguration(String name); static Configuration newConfiguration(QName qname); static Configuration merge(Configuration fromConfig, Configuration toConfig); static Configuration merge(Configuration fromConfig, Configuration toConfig, boolean fromOverridesTo); }
Configurations { public static Configuration merge(Configuration fromConfig, Configuration toConfig) { return merge(fromConfig, toConfig, true); } private  Configurations(); static Configuration newConfiguration(); static Configuration newConfiguration(String name); static Configuration newConfiguration(QName qname); static Configuration merge(Configuration fromConfig, Configuration toConfig); static Configuration merge(Configuration fromConfig, Configuration toConfig, boolean fromOverridesTo);  }