### Question:
MetaConstDetailController extends AbstractController implements MetaConstDetailAPI { @Override @DeleteMapping(value = "/{constDetailId}") public ResponseEntity<Integer> delete(@PathVariable Integer constDetailId) { int count = metaConstDetailService.delete(constDetailId); return ResponseEntity.ok(count); }  @Override @PostMapping(value = "/save") @ResponseStatus(HttpStatus.CREATED) ResponseEntity<MetaConstDetailShowVO> save(@Valid @RequestBody MetaConstDetailAddDTO metaConstDetailAddDTO); @Override @PutMapping(value = "/update") ResponseEntity<MetaConstDetailShowVO> update(@Valid @RequestBody MetaConstDetailUpdateDTO metaConstDetailUpdateDTO); @Override @GetMapping(value = "/list") ResponseEntity<List<MetaConstDetailListVO>> list(@Valid MetaConstDetailQO metaConstDetailQO); @Override @GetMapping(value = "/lists") ResponseEntity<Map<String,List<MetaConstDetailListVO>>> lists(@Valid MetaConstDetailQO metaConstDetailQO); @Override @GetMapping(value = "/{constDetailId}") ResponseEntity<MetaConstDetailShowVO> show(@PathVariable Integer constDetailId); @Override @DeleteMapping(value = "/{constDetailId}") ResponseEntity<Integer> delete(@PathVariable Integer constDetailId); @Override @PutMapping(value = "/delete_batch") ResponseEntity<Integer> deleteBatch(@RequestBody Integer[] constDetailId);  }### Answer:
@Test public void del() throws Exception { MetaConstDetailPO metaConstDetail = generateHelper.saveConstDetailExample(metaConst.getConstId()); restMockMvc.perform(delete(getApiPath() + "/meta_const_detail/{constId}", metaConstDetail.getConstId())) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(jsonPath("$").value(is(1))); }