@Override
    public YamlMaskColumnRuleConfiguration swapToYamlConfiguration(final MaskColumnRuleConfiguration data) {
        YamlMaskColumnRuleConfiguration result = new YamlMaskColumnRuleConfiguration();
        result.setLogicColumn(data.getLogicColumn());
        result.setMaskAlgorithm(data.getMaskAlgorithm());
        return result;
    }
@Test
    void assertSwapToYamlConfiguration() {
        MaskColumnRuleConfiguration encryptColumnRuleConfig = new MaskColumnRuleConfiguration("logicColumn", "md5_mask");
        YamlMaskColumnRuleConfiguration actual = new YamlMaskColumnRuleConfigurationSwapper().swapToYamlConfiguration(encryptColumnRuleConfig);
        assertThat(actual.getLogicColumn(), is("logicColumn"));
        assertThat(actual.getMaskAlgorithm(), is("md5_mask"));
    }