### Question:
QuestionTypeService { public org.tlh.exam.model.PageInfo findAll(int page,int size,String name) { PageHelper.startPage(page,size); List<QuestionType> types = this.questionTypeMapper.findAll(name); PageInfo<QuestionType> pageInfo = new PageInfo<>(types); if (pageInfo != null && !pageInfo.getList().isEmpty()) { List<QuestionTypeDto> results = pageInfo.getList().parallelStream().map(this::dealQuestionType2Dto).collect(Collectors.toList()); org.tlh.exam.model.PageInfo result=new org.tlh.exam.model.PageInfo(); result.setTotal(pageInfo.getTotal()); result.setItems(results); return result; } return 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 findAll() { PageInfo all = this.questionTypeService.findAll(1, 10,""); System.out.println(all); }