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());
}
private String merge(boolean fromOverridesTo) throws Exception {
Configuration from_config = _cfg_puller.pull(FROM_XML, getClass());
Configuration to_config = _cfg_puller.pull(TO_XML, getClass());