@Override
    public BroadcastRuleConfiguration swapToObject(final YamlBroadcastRuleConfiguration yamlConfig) {
        return new BroadcastRuleConfiguration(yamlConfig.getTables());
    }
@Test
    void assertSwapToObject() {
        YamlBroadcastRuleConfiguration yamlRuleConfig = new YamlBroadcastRuleConfiguration();
        yamlRuleConfig.getTables().add("t_address");
        YamlBroadcastRuleConfigurationSwapper swapper = new YamlBroadcastRuleConfigurationSwapper();
        BroadcastRuleConfiguration ruleConfig = swapper.swapToObject(yamlRuleConfig);
        assertThat(ruleConfig.getTables().size(), is(1));
        assertThat(ruleConfig.getTables().iterator().next(), is("t_address"));
    }