### Question:
MetaCascadeExtController extends AbstractController implements MetaCascadeExtAPI { @Override @DeleteMapping(value = "/{cascadeExtId}") public ResponseEntity<Integer> delete(@PathVariable Integer cascadeExtId) { int count = metaCascadeExtService.delete(cascadeExtId); return ResponseEntity.ok(count); }  @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 del() throws Exception { MetaCascadeExtPO metaCascadeExt = generateHelper.saveCascadeExtExample(metaField1.getFieldId(), metaEntity1.getEntityId(), metaField2.getFieldId(), metaEntity2.getEntityId()); restMockMvc.perform(delete(getApiPath() + "/meta_cascade_ext/{cascadeExtId}", metaCascadeExt.getCascadeExtId())) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(jsonPath("$").value(is(1))); }