private void assertOverrideWithIds(Environment environment, RegionName region, String expected) throws TransformerException {
        Document inputDoc = Xml.getDocument(new StringReader(inputWithIds));
        Document newDoc = new OverrideProcessor(InstanceName.from("default"), environment, region, Cloud.defaultCloud().name(), Tags.empty()).process(inputDoc);
        TestBase.assertDocument(expected, newDoc);
    }
Demonstrates that only the most specific match is retained and that this can be overridden by using ids.

@author bratseth
config-application-package/src/test/java/com/yahoo/config/application/MultiOverrideProcessorTest.java