### Question:
MetaMtmCascadeExtController extends AbstractController implements MetaMtmCascadeExtAPI { @Override @PutMapping(value = "/delete_batch") public ResponseEntity<Integer> deleteBatch(@RequestBody Integer[] id) { if (ArrayUtils.isEmpty(id)) { throw new BusinessException(ErrorCode.PARAM_IS_NULL); } int count = metaMtmCascadeExtService.delete(id); return ResponseEntity.ok(count); }  @Override @PostMapping(value = "/save") @ResponseStatus(HttpStatus.CREATED) ResponseEntity<MetaMtmCascadeExtShowVO> save(@Valid @RequestBody MetaMtmCascadeExtAddDTO metaMtmCascadeExtAddDTO); @Override @PutMapping(value = "/update") ResponseEntity<MetaMtmCascadeExtShowVO> update(@Valid @RequestBody MetaMtmCascadeExtUpdateDTO metaMtmCascadeExtUpdateDTO); @Override @GetMapping(value = "/list") ResponseEntity<List<MetaMtmCascadeExtListVO>> list(@Valid MetaMtmCascadeExtQO metaMtmCascadeExtQO); @Override @GetMapping(value = "/{mtmCascadeExtId}") ResponseEntity<MetaMtmCascadeExtShowVO> show(@PathVariable Integer mtmCascadeExtId); @Override @DeleteMapping(value = "/{mtmCascadeExtId}") ResponseEntity<Integer> delete(@PathVariable Integer mtmCascadeExtId); @Override @PutMapping(value = "/delete_batch") ResponseEntity<Integer> deleteBatch(@RequestBody Integer[] id);  }### Answer:
@Test public void deleteBatch() throws Exception { MetaMtmCascadeExtPO metaMtmCascadeExt = generateHelper.saveMtmCascadeExtExample(this.metaManyToMany.getMtmId(), metaEntity1.getEntityId(), metaEntity2.getEntityId(), metaField2.getFieldId()); restMockMvc.perform(put(getApiPath() + "/meta_mtm_cascade_ext") .contentType(MediaType.APPLICATION_JSON) .content(JsonUtil.toJSONString(Lists.newArrayList(metaMtmCascadeExt.getMtmCascadeExtId())))) .andExpect(status().isOk()) .andExpect(jsonPath("$").value(is(1))); }