@Override
    public void getConfig(StorServerConfig.Builder builder) {
        super.getConfig(builder);
        provider.getConfig(builder);
    }
@Test
    void testComplexGarbageCollectionSelectionForIndexedSearch() {
        StorDistributormanagerConfig.Builder builder = new StorDistributormanagerConfig.Builder();
        parse("<cluster id=\"foo\">\n" +
                "  <redundancy>3</redundancy>" +
                "  <documents garbage-collection=\"true\" selection=\"true\">" +
                "    <document type=\"music\" selection=\"music.year &lt; now()\"/>\n" +
                "    <document type=\"movies\" selection=\"movies.year &lt; now() - 1200\"/>\n" +
                "  </documents>\n" +
                "  <group>" +
                "     <node distribution-key=\"0\" hostalias=\"mockhost\"/>" +
                "  </group>" +
                "</cluster>").getConfig(builder);

        StorDistributormanagerConfig conf = new StorDistributormanagerConfig(builder);
        assertEquals(3600, conf.garbagecollection().interval());
        assertEquals(
                "not ((true) and ((music and (music.year < now())) or (movies and (movies.year < now() - 1200))))",
                conf.garbagecollection().selectiontoremove());
    }