### Question:
MetaConstController extends AbstractController implements MetaConstAPI { @Override @GetMapping(value = "/list") public ResponseEntity<List<MetaConstListVO>> list(@Valid MetaConstQO metaConstQO) { List<MetaConstListVO> list = metaConstService.list(metaConstQO); return ResponseEntity.ok(list); }  @Override @PostMapping(value = "/save") @ResponseStatus(HttpStatus.CREATED) ResponseEntity<MetaConstShowVO> save(@Valid @RequestBody MetaConstAddDTO metaConstAddDTO); @Override @PutMapping(value = "/update") ResponseEntity<MetaConstShowVO> update(@Valid @RequestBody MetaConstUpdateDTO metaConstUpdateDTO); @Override @GetMapping(value = "/list") ResponseEntity<List<MetaConstListVO>> list(@Valid MetaConstQO metaConstQO); @Override @GetMapping(value = "/{constId}") ResponseEntity<MetaConstShowVO> show(@PathVariable Integer constId); @Override @DeleteMapping(value = "/{constId}") ResponseEntity<Integer> delete(@PathVariable Integer constId); @Override @PutMapping(value = "/delete_batch") ResponseEntity<Integer> deleteBatch(@RequestBody Integer[] constId);  }### Answer:
@Test public void list() throws Exception { generateHelper.saveConstExample(metaProject.getProjectId()); restMockMvc.perform(get(getApiPath() + "/meta_const/list") .param("projectId", metaProject.getProjectId() + "")) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(jsonPath("$.length()").value(is(1))); }