### Question:
MetaEntityController extends AbstractController implements MetaEntityAPI { @Override @PutMapping(value = "/update") public ResponseEntity<MetaEntityShowVO> update(@Valid @RequestBody MetaEntityUpdateDTO metaEntityUpdateDTO) { MetaEntityPO metaEntityPO = metaEntityService.update(metaEntityUpdateDTO); return ResponseEntity.ok(MetaEntityMapper.INSTANCE.toShowVO(metaEntityPO)); }  @Override @PostMapping(value = "/save") @ResponseStatus(HttpStatus.CREATED) ResponseEntity<MetaEntityShowVO> save(@Valid @RequestBody MetaEntityAddDTO metaEntityAddDTO); @Override @PutMapping(value = "/update") ResponseEntity<MetaEntityShowVO> update(@Valid @RequestBody MetaEntityUpdateDTO metaEntityUpdateDTO); @Override @PutMapping(value = "/{entityId}/feature") ResponseEntity<MetaEntityShowVO> updateFeature(@PathVariable Integer entityId,
                                              @Valid @RequestBody Map<String,Object> attributes); @Override @GetMapping(value = "/list") ResponseEntity<List<MetaEntityListVO>> list(@Valid MetaEntityQO metaEntityQO); @Override @GetMapping(value = "/{entityId}") ResponseEntity<MetaEntityShowVO> show(@PathVariable Integer entityId); @Override @DeleteMapping(value = "/{entityId}") ResponseEntity<Integer> delete(@PathVariable Integer entityId); @Override @PutMapping(value = "/delete_batch") ResponseEntity<Integer> deleteBatch(@RequestBody Integer[] entityId); @Override @GetMapping(value = "/{entityId}/mtm_entity_list_pair") ResponseEntity<MetaEntityListPairVO> mtmEntityListPair(@PathVariable Integer entityId); @Override @GetMapping(value = "/{entityId}/default_fk_field_name_for_sql") ResponseEntity<String> getDefaultFkFieldNameForSql(@PathVariable Integer entityId);  }### Answer:
@Test public void update() throws Exception { MetaEntityPO metaEntity = generateHelper.saveEntityExample(metaProject.getProjectId(), 0); MetaEntityUpdateDTO updateDTO = MetaEntityHelper.getUpdateDTO(metaEntity); restMockMvc.perform(put(getApiPath() + "/meta_entity/update") .contentType(MediaType.APPLICATION_JSON) .content(JsonUtil.toJSONString(updateDTO))) .andExpect(MockMvcResultMatchers.status().isOk()); }