### Question:
PostServiceImpl implements PostService { @Override public Page<Post> getPost(Pageable page) { return postDao.findAll(page); }  @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 testGetPost() { final Pageable page = mock(Pageable.class); postService.getPost(page); verify(postDao, times(1)).findAll(page); }