@Bean
    public ShenyuPlugin wafPlugin() {
        return new WafPlugin();
    }
@Test
    public void testWafPlugin() {
        new ApplicationContextRunner()
            .withConfiguration(AutoConfigurations.of(WafPluginConfiguration.class))
            .withBean(WafPluginConfigurationTest.class)
            .withPropertyValues("debug=true")
            .run(context -> {
                ShenyuPlugin plugin = context.getBean("wafPlugin", ShenyuPlugin.class);
                assertNotNull(plugin);
                assertThat(plugin.named()).isEqualTo(PluginEnum.WAF.getName());
            });
    }