use of com.bc.pmpheep.back.vo.SurveyVO in project pmph by BCSquad.
the class SurveyServiceTest method listSurvey.
@SuppressWarnings({ "unused", "rawtypes", "unchecked" })
@Test
@Rollback(Const.ISROLLBACK)
public void listSurvey() {
Survey survey = this.addSurveys();
PageParameter pageParameter = new PageParameter<>();
PageResult pageResult = new PageResult<>();
SurveyVO surveyVO = new SurveyVO();
pageParameter.setParameter(surveyVO);
pageParameter.setPageSize(10);
pageResult = surveyService.listSurvey(pageParameter);
Assert.assertNotNull("分页数据失败", pageResult);
}
Aggregations