### Question:
TagServiceImpl implements TagService { @Override public Page<Tag> getTag(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.getTag(pr); }  @Override Page<Tag> getAllTag(); @Override Page<Tag> getTag(int skip, int count, Order... order); @Override Page<Tag> getTag(Pageable page); @Override @Transactional(readOnly = false) Tag save(Tag tag); @Override Tag read(Long tagId); @Override @Transactional(readOnly = false) void delete(Long tagId); @Override long getNrOfTags(); @Override List<Post> getPostingSelectOptions();  }### Answer:
@Test public void testGetTag() { PageRequest pr = new PageRequest(2, 4); tagService.getTag(10, 4); verify(tagDao, times(1)).findAll(pr); }