### Question:
QuestionTypeController { @PutMapping("/active/{id}/{active}") public ResponseDto<Boolean> active(@PathVariable("id") int id,@PathVariable("active") boolean active){ boolean flag = this.questionTypeService.updateQuestionTypeStatus(id, active); return ResponseDto.ok(flag); }  @GetMapping("/list") ResponseDto findAllTypes(@RequestParam(name = "page",defaultValue = "1") int page,
                                    @RequestParam(name = "size",defaultValue = "20") int size,
                                    @RequestParam(name = "name",required = false)String name); @GetMapping("/all") ResponseDto queryAll(); @GetMapping("/detail/{id}") ResponseDto<QuestionTypeDto> detail(@PathVariable(name = "id") int id); @PostMapping("/save") ResponseDto<Boolean> save(@RequestBody QuestionTypeDto questionTypeDto); @PutMapping("/update") ResponseDto<Boolean> update(@RequestBody QuestionTypeDto questionTypeDto); @PutMapping("/active/{id}/{active}") ResponseDto<Boolean> active(@PathVariable("id") int id,@PathVariable("active") boolean active); @DeleteMapping("/delete/{id}") ResponseDto<Boolean> delete(@PathVariable("id") int id);  }### Answer:
@Test public void active() { }