@Override
    public YamlBroadcastRuleConfiguration swapToYamlConfiguration(final BroadcastRuleConfiguration data) {
        YamlBroadcastRuleConfiguration result = new YamlBroadcastRuleConfiguration();
        data.getTables().forEach(each -> result.getTables().add(each));
        return result;
    }
@Test
    void assertSwapToYamlConfiguration() {
        BroadcastRuleConfiguration ruleConfig = new BroadcastRuleConfiguration(Collections.singleton("t_address"));
        YamlBroadcastRuleConfigurationSwapper swapper = new YamlBroadcastRuleConfigurationSwapper();
        YamlBroadcastRuleConfiguration yamlRuleConfig = swapper.swapToYamlConfiguration(ruleConfig);
        assertThat(yamlRuleConfig.getTables().size(), is(1));
        assertThat(yamlRuleConfig.getTables().iterator().next(), is("t_address"));
    }