@GetMapping("/id/{id}")
    public ShenyuAdminResult queryById(@PathVariable("id") @Valid
                                        @Existed(provider = TagMapper.class,
                                                message = "tag is not existed") final String id) {
        TagVO tagVO = tagService.findById(id);
        return ShenyuAdminResult.success(ShenyuResultMessage.DETAIL_SUCCESS, tagVO);
    }
@Test
    public void testqueryById() throws Exception {
        given(tagService.findById("123")).willReturn(buildTagVO());
        this.mockMvc.perform(MockMvcRequestBuilders.get("/tag/id/{id}", "123"))
                .andExpect(status().isOk())
                .andExpect(jsonPath("$.message", is(ShenyuResultMessage.DETAIL_SUCCESS)))
                .andReturn();
    }