### Question:
CodeTemplateController extends AbstractController implements CodeTemplateAPI { @Override @GetMapping(value = "/{templateId}") public ResponseEntity<CodeTemplateShowVO> show(@PathVariable Integer templateId) { CodeTemplateShowVO codeTemplateShowVO = codeTemplateService.show(templateId); return ResponseEntity.ok(codeTemplateShowVO); }  @Override @PostMapping @ResponseStatus(HttpStatus.CREATED) ResponseEntity<CodeTemplateShowVO> save(@Valid @RequestBody CodeTemplateAddDTO codeTemplateAddDTO); @Override @PutMapping ResponseEntity<CodeTemplateShowVO> update(@Valid @RequestBody CodeTemplateUpdateDTO codeTemplateUpdateDTO); @Override @GetMapping ResponseEntity<List<CodeTemplateListVO>> list(@Valid CodeTemplateQO codeTemplateQO); @Override @GetMapping(value = "/{templateId}") ResponseEntity<CodeTemplateShowVO> show(@PathVariable Integer templateId); @Override @DeleteMapping(value = "/{templateId}") ResponseEntity<Integer> delete(@PathVariable Integer templateId); @Override @DeleteMapping ResponseEntity<Integer> deleteBatch(@RequestBody Integer[] id); @Override @GetMapping(value = "/{templateId}/dir_tree") ResponseEntity<TemplateDirTreeVO> dirTree(@PathVariable Integer templateId); @Override @GetMapping(value = "/{templateId}/export") void export(@PathVariable Integer templateId, HttpServletResponse response); @Override @PostMapping(value = "/{templateId}/copy") @ResponseStatus(HttpStatus.CREATED) ResponseEntity<CodeTemplateShowVO> copy(@PathVariable Integer templateId); @Override @PostMapping(value = "/import") @ResponseStatus(HttpStatus.CREATED) ResponseEntity<CodeTemplateShowVO> importTemplate(@RequestParam(value = "file") MultipartFile file);  }### Answer:
@Test public void show() throws Exception { CodeTemplatePO codeTemplate = codeTemplateHelper.saveCodeTemplateExample(); restMockMvc.perform(get(getApiPath() + "/code_template/{templateId}", codeTemplate.getTemplateId())) .andExpect(status().isOk()); }