### Question:
MetaConstDetailController extends AbstractController implements MetaConstDetailAPI { @Override @PostMapping(value = "/save") @ResponseStatus(HttpStatus.CREATED) public ResponseEntity<MetaConstDetailShowVO> save(@Valid @RequestBody MetaConstDetailAddDTO metaConstDetailAddDTO) throws Exception { MetaConstDetailPO metaConstDetailPO = metaConstDetailService.save(metaConstDetailAddDTO); return ResponseEntity.created(new URI(apiPath + "/meta_const_detail/" + metaConstDetailPO.getConstDetailId())) .body(MetaConstDetailMapper.INSTANCE.toShowVO(metaConstDetailPO)); }  @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 save() throws Exception { MetaConstDetailAddDTO addDTO = MetaConstDetailHelper.getAddDTO(metaConst.getConstId()); restMockMvc.perform(post(getApiPath() + "/meta_const_detail/save") .contentType(MediaType.APPLICATION_JSON) .content(JsonUtil.toJSONString(addDTO))) .andExpect(MockMvcResultMatchers.status().isCreated()); }