use of com.bc.pmpheep.back.vo.SurveyQuestionVO in project pmph by BCSquad.
the class SurveyQuestionServiceTest method listSurveyQuestion.
@SuppressWarnings({ "unused", "rawtypes", "unchecked" })
@Test
@Rollback(Const.ISROLLBACK)
public void listSurveyQuestion() {
SurveyQuestion surveyQuestion = this.addSurveyQuestions();
PageParameter pageParameter = new PageParameter<>();
PageResult pageResult = new PageResult<>();
SurveyQuestionVO surveyQuestionVO = new SurveyQuestionVO();
pageParameter.setParameter(surveyQuestionVO);
pageParameter.setPageSize(10);
pageResult = surveyQuestionService.listSurveyQuestion(pageParameter);
Assert.assertNotNull("分页数据失败", pageResult);
}
Aggregations