@Override
    public SingleRuleConfiguration swapToObject(final YamlSingleRuleConfiguration yamlConfig) {
        SingleRuleConfiguration result = new SingleRuleConfiguration();
        if (null != yamlConfig.getTables()) {
            result.getTables().addAll(yamlConfig.getTables());
        }
        result.setDefaultDataSource(yamlConfig.getDefaultDataSource());
        return result;
    }
@Test
    void assertSwapToObjectWithoutDataSource() {
        assertFalse(new YamlSingleRuleConfigurationSwapper().swapToObject(new YamlSingleRuleConfiguration()).getDefaultDataSource().isPresent());
    }