public Optional<DispatchEvent> build(final String databaseName, final DataChangedEvent event) {
        for (RuleNodePathProvider each : ShardingSphereServiceLoader.getServiceInstances(RuleNodePathProvider.class)) {
            Optional<DispatchEvent> result = build(each.getRuleNodePath(), databaseName, event);
            if (result.isPresent()) {
                return result;
            }
        }
        return Optional.empty();
    }
@Test
    void assertBuildWithoutRuleNodePathProvider() {
        when(ShardingSphereServiceLoader.getServiceInstances(RuleNodePathProvider.class)).thenReturn(Collections.emptyList());
        assertFalse(new RuleConfigurationEventBuilder().build("foo_db", new DataChangedEvent("k", "v", Type.IGNORED)).isPresent());
    }