@GetMapping("/auth/delete")
    public Mono<String> clean(@RequestParam("appKey") final String appKey) {
        if (CollectionUtils.isEmpty(subscribers)) {
            return Mono.just(Constants.SUCCESS);
        }
        LOG.info("delete apache shenyu local AppAuth data");
        AppAuthData appAuthData = AppAuthData.builder().appKey(appKey).build();
        subscribers.forEach(authDataSubscriber -> authDataSubscriber.unSubscribe(appAuthData));
        return Mono.just(Constants.SUCCESS);
    }
@Test
    public void testClean() throws Exception {
        String appKey = "D9FD95F496C9495DB5604778A13C3D08";
        final MockHttpServletResponse response = this.mockMvc.perform(MockMvcRequestBuilders.get("/shenyu/auth/delete")
                .contentType(MediaType.APPLICATION_JSON)
                .queryParam("appKey", appKey))
                .andReturn().getResponse();
        assertThat(response.getStatus()).isEqualTo(HttpStatus.OK.value());
        AppAuthData appAuthData = new AppAuthData();
        appAuthData.setAppKey(appKey);
        subscribers.forEach(subscriber -> verify(subscriber).unSubscribe(appAuthData));
        final MockHttpServletResponse responseError = this.mockMvcSubscribersNull.perform(MockMvcRequestBuilders.get("/shenyu/auth/delete")
                .contentType(MediaType.APPLICATION_JSON)
                .queryParam("appKey", appKey))
                .andReturn().getResponse();
        assertThat(responseError.getStatus()).isEqualTo(HttpStatus.OK.value());
    }