@Bean
    public ShenyuPlugin rewritePlugin() {
        return new RewritePlugin();
    }
@Test
    public void testRewritePlugin() {
        new ApplicationContextRunner()
            .withConfiguration(AutoConfigurations.of(RewritePluginConfiguration.class))
            .withBean(RewritePluginConfigurationTest.class)
            .withPropertyValues("debug=true")
            .run(context -> {
                ShenyuPlugin plugin = context.getBean("rewritePlugin", ShenyuPlugin.class);
                assertNotNull(plugin);
                assertThat(plugin.named()).isEqualTo(PluginEnum.REWRITE.getName());
            });
    }