GroupService { public ListResult<DalGroupView> findGroupPageList(Paging<DasGroup> paging) throws SQLException { Long count = groupDao.getTotalCount(paging); return PagerUtil.find(count, paging.getPage(), paging.getPageSize(), () -> { List<DalGroupView> list = groupDao.findGroupPageList(paging); if (CollectionUtils.isEmpty(list)) { return Collections.emptyList(); } return list; }); }  ValidatorChain validatePermision(LoginUser user, Errors errors); boolean addDalGroup(LoginUser user, DasGroup group); boolean updateDalGroup(LoginUser user, DasGroup group); boolean isInSuperGroup(String userNo); boolean isInCurrentGroup(Long userId, int currentGroupId); ListResult<DalGroupView> findGroupPageList(Paging<DasGroup> paging); boolean isNotExistByName(DasGroup group); boolean isNotExistInProjectAndGroup(String name); int initAdminGroup();  }
@Test public void findGroupPageListTest() throws Exception { Paging<DasGroup> paging = new Paging<>(); paging.setData(new DasGroup()); Assert.assertTrue(groupService.findGroupPageList(paging).getList().size() > 0); }