### Question:
MetaManyToManyController extends AbstractController implements MetaManyToManyAPI { @Override @DeleteMapping(value = "/{mtmId}") public ResponseEntity<Integer> delete(@PathVariable Integer mtmId) { int count = metaManyToManyService.delete(mtmId); return ResponseEntity.ok(count); }  @Override @PostMapping(value = "/save") @ResponseStatus(HttpStatus.CREATED) ResponseEntity<MetaManyToManyShowVO> save(@Valid @RequestBody MetaManyToManyAddDTO metaManyToManyAddDTO); @Override @PutMapping(value = "/update") ResponseEntity<MetaManyToManyShowVO> update(@Valid @RequestBody MetaManyToManyUpdateDTO metaManyToManyUpdateDTO); @Override @GetMapping(value = "/list") ResponseEntity<List<MetaManyToManyListVO>> list(@Valid MetaManyToManyQO metaManyToManyQO); @Override @GetMapping(value = "/{mtmId}") ResponseEntity<MetaManyToManyShowVO> show(@PathVariable Integer mtmId); @Override @DeleteMapping(value = "/{mtmId}") ResponseEntity<Integer> delete(@PathVariable Integer mtmId); @Override @PutMapping(value = "/delete_batch") ResponseEntity<Integer> deleteBatch(@RequestBody Integer[] mtmId);  }### Answer:
@Test public void del() throws Exception { MetaManyToManyPO metaManyToMany = generateHelper.saveManyToManyExample(metaProject.getProjectId(), metaEntity1.getEntityId(), metaEntity2.getEntityId()); restMockMvc.perform(delete(getApiPath() + "/meta_mtm/{fieldId}", metaManyToMany.getMtmId())) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(jsonPath("$").value(is(1))); }