@Test public void testGetAllUsers() { assertEquals(0, gfUserAdminService.getList(null,null,null).size()); createGFUser("u1"); createGFUser("u2"); createGFUser("u3"); assertEquals(3, gfUserAdminService.getList(null,null,null).size()); }
@Override public List<ShortUser> getList(String nameLike, Integer page, Integer entries) { return convertToShortList(getFullList(nameLike, page, entries)); }
GFUserAdminServiceImpl implements GFUserAdminService { @Override public List<ShortUser> getList(String nameLike, Integer page, Integer entries) { return convertToShortList(getFullList(nameLike, page, entries)); } }
GFUserAdminServiceImpl implements GFUserAdminService { @Override public List<ShortUser> getList(String nameLike, Integer page, Integer entries) { return convertToShortList(getFullList(nameLike, page, entries)); }  }
GFUserAdminServiceImpl implements GFUserAdminService { @Override public List<ShortUser> getList(String nameLike, Integer page, Integer entries) { return convertToShortList(getFullList(nameLike, page, entries)); }  @Override long insert(GFUser user); @Override long update(GFUser user); @Override GFUser get(long id); @Override GFUser get(String name); @Override boolean delete(long id); @Override List<GFUser> getFullList(String nameLike, Integer page, Integer entries); @Override List<ShortUser> getList(String nameLike, Integer page, Integer entries); @Override long getCount(String nameLike); void setGfUserDAO(GFUserDAO userDao); }
GFUserAdminServiceImpl implements GFUserAdminService { @Override public List<ShortUser> getList(String nameLike, Integer page, Integer entries) { return convertToShortList(getFullList(nameLike, page, entries)); }  @Override long insert(GFUser user); @Override long update(GFUser user); @Override GFUser get(long id); @Override GFUser get(String name); @Override boolean delete(long id); @Override List<GFUser> getFullList(String nameLike, Integer page, Integer entries); @Override List<ShortUser> getList(String nameLike, Integer page, Integer entries); @Override long getCount(String nameLike); void setGfUserDAO(GFUserDAO userDao);  }