@Override
    public void getConfig(StorServerConfig.Builder builder) {
        super.getConfig(builder);
        provider.getConfig(builder);
    }
@Test
    void testMaxMergesPerNode() {
        StorDistributormanagerConfig.Builder builder = new StorDistributormanagerConfig.Builder();
        DistributorCluster dcluster = parse("<content id=\"storage\">\n" +
                "  <redundancy>3</redundancy>" +
                "  <documents/>" +
                "  <group>" +
                "     <node distribution-key=\"0\" hostalias=\"mockhost\"/>" +
                "  </group>" +
                "</content>");
        ((ContentCluster) dcluster.getParent()).getConfig(builder);
        StorDistributormanagerConfig conf = new StorDistributormanagerConfig(builder);
        assertEquals(16, conf.maximum_nodes_per_merge());

        builder = new StorDistributormanagerConfig.Builder();
        dcluster = parse("<content id=\"storage\">\n" +
                "  <redundancy>3</redundancy>" +
                "  <documents/>" +
                "  <tuning>\n" +
                "    <merges max-nodes-per-merge=\"4\"/>\n" +
                "  </tuning>\n" +
                "  <group>" +
                "     <node distribution-key=\"0\" hostalias=\"mockhost\"/>" +
                "  </group>" +
                "</content>");
        ((ContentCluster) dcluster.getParent()).getConfig(builder);
        conf = new StorDistributormanagerConfig(builder);
        assertEquals(4, conf.maximum_nodes_per_merge());
    }