public MergePolicyConfig setPolicy(String policy) {
        this.policy = checkHasText(policy, "Merge policy must contain text!");
        return this;
    }
@Test
    public void setPolicy() {
        config.setPolicy(DiscardMergePolicy.class.getName());

        assertEquals(DiscardMergePolicy.class.getName(), config.getPolicy());
    }