assertFalse("Empty User list", Users.isEmpty());
}
@Test
public void testListUsersSorted() throws IOException {
UserService service = getTestUserForge().createUserService();
ListPreferences listPrefs = new ListPreferences();
listPrefs.setLimit(4);
listPrefs.setOffset(1);
listPrefs.setSortBy("username");
listPrefs.setSortOrder("descending");
List<User> Users = service.list(listPrefs);
assertNotNull("Null User list", Users);
assertFalse("Empty User list", Users.isEmpty());
}