### Question:
MetaIndexController extends AbstractController implements MetaIndexAPI { @Override @GetMapping(value = "/{indexId}") public ResponseEntity<MetaIndexShowVO> show(@PathVariable Integer indexId) { MetaIndexShowVO metaIndexShowVO = metaIndexService.show(indexId); return ResponseEntity.ok(metaIndexShowVO); }  @Override @PostMapping(value = "/save") @ResponseStatus(HttpStatus.CREATED) ResponseEntity<MetaIndexShowVO> save(@Valid @RequestBody MetaIndexAddDTO metaIndexAddDTO); @Override @PutMapping(value = "/update") ResponseEntity<MetaIndexShowVO> update(@Valid @RequestBody MetaIndexUpdateDTO metaIndexUpdateDTO); @Override @GetMapping(value = "/list") ResponseEntity<List<MetaIndexListVO>> list(@Valid MetaIndexQO metaIndexQO); @Override @GetMapping(value = "/{indexId}") ResponseEntity<MetaIndexShowVO> show(@PathVariable Integer indexId); @Override @DeleteMapping(value = "/{indexId}") ResponseEntity<Integer> delete(@PathVariable Integer indexId); @Override @PutMapping(value = "/delete_batch") ResponseEntity<Integer> deleteBatch(@RequestBody Integer[] indexId); @Override @PutMapping(value = "/{indexId}/remove_field") ResponseEntity<Integer> removeField(@PathVariable Integer indexId, @RequestBody List<Integer> fieldIds);  }### Answer:
@Test public void show() throws Exception { MetaIndexPO metaIndex = generateHelper.saveIndexExample(metaField.getFieldId()); restMockMvc.perform(get(getApiPath() + "/meta_index/{indexId}", metaIndex.getIndexId())) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(jsonPath("$.indexId").value(is(metaIndex.getIndexId()))); }