@Test public void shouldGetAll() throws Exception { service.getAll(); verify(repository).getAll(); }
public List<ServiceType> getAll(){ return repository.getAll(); }
ServiceTypeService { public List<ServiceType> getAll(){ return repository.getAll(); } }
ServiceTypeService { public List<ServiceType> getAll(){ return repository.getAll(); }  }
ServiceTypeService { public List<ServiceType> getAll(){ return repository.getAll(); }  List<ServiceType> getAll(); ServiceType getById(Long id); void save(ServiceType serviceType); }
ServiceTypeService { public List<ServiceType> getAll(){ return repository.getAll(); }  List<ServiceType> getAll(); ServiceType getById(Long id); void save(ServiceType serviceType);  }