### Question:
UserGroupAdminServiceImpl implements UserGroupAdminService { @Override public List<ShortGroup> getList(String nameLike, Integer page, Integer entries) { Search searchCriteria = buildCriteria(page, entries, nameLike); List<UserGroup> found = userGroupDAO.search(searchCriteria); return convertToShortList(found); }  @Override long insert(ShortGroup group); @Override long update(ShortGroup group); @Override UserGroup get(long id); @Override UserGroup get(String name); @Override boolean delete(long id); @Override List<ShortGroup> getList(String nameLike, Integer page, Integer entries); @Override long getCount(String nameLike); void setUserGroupDAO(UserGroupDAO userGroupDAO);  }### Answer:
@Test public void testGetAll() { assertEquals(0, userGroupAdminService.getList(null,null,null).size()); createRole("u1"); createRole("u2"); createRole("u3"); assertEquals(3, userGroupAdminService.getList(null,null,null).size()); }