### Question:
TransactionalUserService implements UserService { @Override public List<PoulpeUser> findUsersNotInList(String availableFilterText, List<PoulpeUser> listUsers, int page, int itemsPerPage) { return userDao.findUsersNotInList(availableFilterText, listUsers, Pages.paginate(page, itemsPerPage)); } TransactionalUserService(UserDao userDao, UserBanner userBanner,
                                    AclManager aclManager, ComponentDao componentDao); @Override List<PoulpeUser> getAll(); @Override List<PoulpeUser> findUsersPaginated(String searchString, int page, int itemsPerPage); @Override List<PoulpeUser> findUsersBySearchRequest(UserSearchRequest searchRequest); @Override int countUsernameMatches(String searchString); @Override List<PoulpeUser> withUsernamesMatching(String searchString); @Override List<PoulpeUser> findUsersNotInGroups(String availableFilterText, List<Group> groups,
                                                 int page, int itemsPerPage); @Override List<PoulpeUser> findUsersNotInGroups(String availableFilterText, List<Group> groups); @Override List<PoulpeUser> findUsersNotInList(String availableFilterText, List<PoulpeUser> listUsers,
                                               int page, int itemsPerPage); @Override List<PoulpeUser> findUsersNotInList(String availableFilterText, List<PoulpeUser> listUsers); @Override void updateUser(PoulpeUser user); @Override PoulpeUser get(long id); @Override PoulpeUser getByEmail(String email); @Override List<PoulpeUser> getAllBannedUsers(); @Override void banUsers(PoulpeUser... usersToBan); @Override void revokeBan(PoulpeUser... bannedUsersToRevoke); @Override //TODO Rename method to 'get*' when delete creating a group 'ban users'! List<PoulpeUser> loadNonBannedUsersByUsername(String availableFilterText, Pagination pagination); @Override boolean accessAllowedToComponentType(String username, ComponentType componentType); @Override void updateUsersAtGroup(List<User> users, Group group); @Override PoulpeUser authenticate(String username, String password); @Override void activate(String username); @Override void registration(PoulpeUser user); @Override void dryRunRegistration(PoulpeUser user);  }### Answer:
@Test public void TestFindUsersNotInList(){ List<PoulpeUser> users = new ArrayList<PoulpeUser>(); users.add(user()); userService.findUsersNotInList(searchString,users); verify(userDao).findUsersNotInList(searchString,users, Pages.NONE); }