@Bean
    public ShenyuPlugin oAuth2Plugin(final ObjectProvider<ReactiveOAuth2AuthorizedClientService> authorizedClientServiceProvider) {
        return new OAuth2Plugin(authorizedClientServiceProvider);
    }
@Test
    public void testOAuth2Plugin() {
        applicationContextRunner.run(context -> {
                ShenyuPlugin plugin = context.getBean("oAuth2Plugin", ShenyuPlugin.class);
                assertNotNull(plugin);
                assertThat(plugin.named()).isEqualTo(PluginEnum.OAUTH2.getName());
            }
        );
    }