### Question:
UserServiceImpl implements UserService { @Override public Page<User> getUser(int skip, int count, Order... order) { final Sort sort = order.length > 0 ? new Sort(order) : null; final PageRequest pr = new PageRequest(skip / count, count, sort); return this.getUser(pr); }  @Override Page<User> getAllUser(); @Override Page<User> getUser(int skip, int count, Order... order); @Override Page<User> getUser(Pageable page); @Override @Transactional(readOnly = false) User save(User user); @Override User read(Long userId); @Override @Transactional(readOnly = false) void delete(Long userId); @Override long getNrOfUsers(); @Override List<Post> getPostingSelectOptions();  }### Answer:
@Test public void testGetUser() { PageRequest pr = new PageRequest(2, 4); userService.getUser(10, 4); verify(userDao, times(1)).findAll(pr); }