use of com.bc.pmpheep.back.vo.SurveyTemplateListVO in project pmph by BCSquad.
the class SurveyTemplateServiceTest method listSurveyTemplateList.
@SuppressWarnings({ "unused", "rawtypes", "unchecked" })
@Test
@Rollback(Const.ISROLLBACK)
public void listSurveyTemplateList() {
SurveyTemplate surveyTemplate = this.addSurveyTemplates();
PageParameter pageParameter = new PageParameter<>();
PageResult pageResult = new PageResult<>();
SurveyTemplateListVO surveyTemplateListVO = new SurveyTemplateListVO();
pageParameter.setParameter(surveyTemplateListVO);
pageParameter.setPageSize(10);
pageResult = surveyTemplateService.listSurveyTemplateList(pageParameter);
Assert.assertNotNull("分页数据失败", pageResult);
}
Aggregations