@Override
    public void check(final String databaseName, final EncryptRuleConfiguration ruleConfig, final Map<String, DataSource> dataSourceMap, final Collection<ShardingSphereRule> builtRules) {
        checkEncryptors(ruleConfig.getEncryptors());
        checkTables(databaseName, ruleConfig.getTables(), ruleConfig.getEncryptors());
    }
@SuppressWarnings({"rawtypes", "unchecked"})
    @Test
    void assertCheckWhenConfigValidConfiguration() {
        EncryptRuleConfiguration ruleConfig = createValidConfiguration();
        RuleConfigurationChecker checker = OrderedSPILoader.getServicesByClass(RuleConfigurationChecker.class, Collections.singleton(ruleConfig.getClass())).get(ruleConfig.getClass());
        checker.check("test", ruleConfig, Collections.emptyMap(), Collections.emptyList());
    }