@Override
    public ShardingAuditStrategyConfiguration swapToObject(final YamlShardingAuditStrategyConfiguration yamlConfig) {
        return new ShardingAuditStrategyConfiguration(yamlConfig.getAuditorNames(), yamlConfig.isAllowHintDisable());
    }
@Test
    void assertSwapToObject() {
        YamlShardingAuditStrategyConfiguration yamlConfig = new YamlShardingAuditStrategyConfiguration();
        yamlConfig.setAuditorNames(Collections.singletonList("audit_algorithm"));
        yamlConfig.setAllowHintDisable(false);
        YamlShardingAuditStrategyConfigurationSwapper swapper = new YamlShardingAuditStrategyConfigurationSwapper();
        ShardingAuditStrategyConfiguration actual = swapper.swapToObject(yamlConfig);
        assertThat(actual.getAuditorNames(), is(Collections.singletonList("audit_algorithm")));
        assertFalse(actual.isAllowHintDisable());
    }