@Test
    public void require_that_simple_fields_are_overwritten_on_merge() {
        SimpletypesConfig.Builder b1 = createSimpleBuilder("foo", 2, 5, 4.3, false);
        SimpletypesConfig.Builder b2 = createSimpleBuilder("bar", 3, 6, 3.3, true);
        ConfigInstanceUtil.setValues(b1, b2);
        SimpletypesConfig c1 = new SimpletypesConfig(b1);
        SimpletypesConfig c2 = new SimpletypesConfig(b2);
        assertThat(c1, is(c2));
    }
SEO keywords: test override() on builders. overrideTest, testOverride

@author Ulf Lilleengen
config/src/test/java/com/yahoo/vespa/config/ConfigBuilderMergeTest.java