@Bean
    public ShenyuPlugin loggingElasticSearchPlugin() {
        return new LoggingElasticSearchPlugin();
    }
@Test
    public void testLoggingElasticSearchPlugin() {
        applicationContextRunner
                .withPropertyValues(
                        "debug=true",
                        "shenyu.logging.elasticsearch.enabled=true"
                )
                .run(context -> {
                    PluginDataHandler pluginDataHandler = context.getBean("loggingElasticSearchPluginDataHandler", PluginDataHandler.class);
                    assertNotNull(pluginDataHandler);
                    ShenyuPlugin plugin = context.getBean("loggingElasticSearchPlugin", ShenyuPlugin.class);
                    assertNotNull(plugin);
                    assertThat(plugin.named()).isEqualTo(PluginEnum.LOGGING_ELASTIC_SEARCH.getName());
                });
    }