### Question:
MetaCascadeExtController extends AbstractController implements MetaCascadeExtAPI { @Override @GetMapping(value = "/list") public ResponseEntity<List<MetaCascadeExtListVO>> list(@Valid MetaCascadeExtQO metaCascadeExtQO) { List<MetaCascadeExtListVO> list = metaCascadeExtService.list(metaCascadeExtQO); return ResponseEntity.ok(list); }  @Override @PostMapping(value = "/save") @ResponseStatus(HttpStatus.CREATED) ResponseEntity<MetaCascadeExtShowVO> save(@Valid @RequestBody MetaCascadeExtAddDTO metaCascadeExtAddDTO); @Override @PutMapping(value = "/update") ResponseEntity<MetaCascadeExtShowVO> update(@Valid @RequestBody MetaCascadeExtUpdateDTO metaCascadeExtUpdateDTO); @Override @GetMapping(value = "/list") ResponseEntity<List<MetaCascadeExtListVO>> list(@Valid MetaCascadeExtQO metaCascadeExtQO); @Override @GetMapping(value = "/{cascadeExtId}") ResponseEntity<MetaCascadeExtShowVO> show(@PathVariable Integer cascadeExtId); @Override @DeleteMapping(value = "/{cascadeExtId}") ResponseEntity<Integer> delete(@PathVariable Integer cascadeExtId); @Override @PutMapping(value = "/delete_batch") ResponseEntity<Integer> deleteBatch(@RequestBody Integer[] cascadeExtId);  }### Answer:
@Test public void list() throws Exception { generateHelper.saveCascadeExtExample(metaField1.getFieldId(), metaEntity1.getEntityId(), metaField2.getFieldId(), metaEntity2.getEntityId()); restMockMvc.perform(get(getApiPath() + "/meta_cascade_ext/list") .param("fieldId", metaField1.getFieldId() + "")) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(jsonPath("$.length()").value(is(1))); }