### Question:
QuestionTypeService { public QuestionTypeDto getDetailById(int id) { QuestionType questionType = this.questionTypeMapper.findQuestionTypeById(id); return questionType != null ? dealQuestionType2Dto(questionType) : null; }  org.tlh.exam.model.PageInfo findAll(int page,int size,String name); List<QuestionTypeDto> findAll(); QuestionTypeDto getDetailById(int id); @Transactional boolean saveQuestionType(QuestionTypeDto questionTypeDto); @Transactional boolean updateQuestionType(QuestionTypeDto questionTypeDto); @Transactional boolean updateQuestionTypeStatus(int id,boolean active); @Transactional boolean deleteQuestionTypeById(int id);  }### Answer:
@Test public void getDetailById() { }