### Question:
PostServiceImpl implements PostService { @Override public List<User> getAllUsers() { return userDao.findAllOrderByUserId(); }  @Override Page<Post> getPost(Pageable page); @Override @Transactional(readOnly = false) Post save(Post post); @Override Post read(Long postId); @Override @Transactional(readOnly = false) void delete(Long postId); @Override long getNrOfPosts(); @Override List<User> getAllUsers(); @Override List<Tag> getAllActiveTags();  }### Answer:
@Test public void testGetAllUsers() { postService.getAllUsers(); verify(userDao, times(1)).findAllOrderByUserId(); }