GroupMemberService { public ListResult<MemberView> findGroupMemberPageList(Paging<UserGroup> paging) throws SQLException { Long count = userGroupDao.getMemberTotalCount(paging); return PagerUtil.find(count, paging.getPage(), paging.getPageSize(), () -> { List<MemberView> list = userGroupDao.findMemberPageList(paging); if (CollectionUtils.isEmpty(list)) { return Collections.emptyList(); } return list; }); }  ValidatorChain validatePermisionAdd(LoginUser user, UserGroup userGroup, Errors errors); ValidatorChain validatePermisionUpdateAndDelete(LoginUser user, UserGroup userGroup, Errors errors); boolean canOpterateGroupMember(Long userId, Long currentGroupId); boolean isUserInGroup(Long userId, Long groupId); ListResult<MemberView> findGroupMemberPageList(Paging<UserGroup> paging);  }
@Test public void findGroupMemberPageListTest() throws Exception { Paging<UserGroup> paging = new Paging<>(); paging.setData(new UserGroup()); Assert.assertTrue(groupMemberService.findGroupMemberPageList(paging).getList().size() > 0); }