IReBlogEsServiceImpl implements IReBlogEsService { @Override public long count() { return repository.count(); } IReBlogEsServiceImpl(IReBlogEsRepository repository); @Override ReBlog save(ReBlog reBlog); @Override void delete(ReBlog reBlog); @Override Iterable<ReBlog> getAll(); @Override long count(); @Override Page<ReBlog> query(String condition, PageDTO pageDTO); @Override void deleteAll();  }
@Test void count() { System.out.println(service.count()); }