@Override
    public MaskColumnRuleConfiguration swapToObject(final YamlMaskColumnRuleConfiguration yamlConfig) {
        return new MaskColumnRuleConfiguration(yamlConfig.getLogicColumn(), yamlConfig.getMaskAlgorithm());
    }
@Test
    void assertSwapToObject() {
        YamlMaskColumnRuleConfiguration yamlMaskColumnRuleConfig = new YamlMaskColumnRuleConfiguration();
        yamlMaskColumnRuleConfig.setLogicColumn("logicColumn");
        yamlMaskColumnRuleConfig.setMaskAlgorithm("md5_mask");
        MaskColumnRuleConfiguration actual = new YamlMaskColumnRuleConfigurationSwapper().swapToObject(yamlMaskColumnRuleConfig);
        assertThat(actual.getLogicColumn(), is("logicColumn"));
        assertThat(actual.getMaskAlgorithm(), is("md5_mask"));
    }