@GetMapping("/name/{name}")
    public ShenyuAdminResult queryByName(@PathVariable("name") @Valid final String name) {
        List<TagVO> tagVO = tagService.findByQuery(name);
        return ShenyuAdminResult.success(ShenyuResultMessage.DETAIL_SUCCESS, tagVO);
    }
@Test
    public void testQueryByName() throws Exception {
        List<TagVO> list = new ArrayList<>();
        list.add(buildTagVO());
        given(tagService.findByQuery(anyString())).willReturn(list);
        this.mockMvc.perform(MockMvcRequestBuilders.get("/tag/name/{name}", "123"))
                .andExpect(status().isOk())
                .andExpect(jsonPath("$.message", is(ShenyuResultMessage.DETAIL_SUCCESS)))
                .andReturn();
    }