DefaultConfiguration result = new DefaultConfiguration( "a", "b" );
result.addChild( new DefaultConfiguration( "kid1", "b" ) );
result.addChild( new DefaultConfiguration( "kid2", "b" ) );
DefaultConfiguration base = new DefaultConfiguration( "a", "b" );
base.addChild( new DefaultConfiguration( "kid1", "b" ) );
DefaultConfiguration layer = new DefaultConfiguration( "a", "b" );
layer.addChild( new DefaultConfiguration( "kid2", "b" ) );
assertTrue( ConfigurationUtil.equals( result, ConfigurationMerger.merge( layer, base ) ) );