TableEntityService { public ListResult<TaskTableView> findTableEntityPageList(Paging<TaskTable> paging) throws SQLException { Long count = tableEntityDao.getTableEntityTotalCount(paging); return PagerUtil.find(count, paging.getPage(), paging.getPageSize(), () -> { List<TaskTableView> list = tableEntityDao.findTableEntityPageList(paging); if (CollectionUtils.isEmpty(list)) { return Collections.emptyList(); } return list; }); }  ValidatorChain validatePermision(LoginUser user, TaskTable taskTable, Errors errors); ListResult<TaskTableView> findTableEntityPageList(Paging<TaskTable> paging); Long insertTask(TaskTable task); ServiceResult<String> addTaskTableList(LoginUser user, List<TaskTable> list);  }
@Test public void findTableEntityPageListTest() throws SQLException { Paging<TaskTable> paging = new Paging<>(); paging.setData(new TaskTable()); Assert.assertTrue(tableEntityService.findTableEntityPageList(paging).getList().size() > 0); }