### Question:
MetaConstController extends AbstractController implements MetaConstAPI { @Override @DeleteMapping(value = "/{constId}") public ResponseEntity<Integer> delete(@PathVariable Integer constId) { int count = metaConstService.delete(constId); return ResponseEntity.ok(count); }  @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 del() throws Exception { MetaConstPO metaConst = generateHelper.saveConstExample(metaProject.getProjectId()); restMockMvc.perform(delete(getApiPath() + "/meta_const/{constId}", metaConst.getConstId())) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(jsonPath("$").value(is(1))); }