@Test public void shouldGetAll() throws Exception { service.getAll(); verify(repository).getAll(); }
public List<MaintenanceRequest> getAll() { return repository.getAll(); }
MaintenanceRequestService { public List<MaintenanceRequest> getAll() { return repository.getAll(); } }
MaintenanceRequestService { public List<MaintenanceRequest> getAll() { return repository.getAll(); }  }
MaintenanceRequestService { public List<MaintenanceRequest> getAll() { return repository.getAll(); }  List<MaintenanceRequest> getAll(); List<MaintenanceRequest> getAllForFacility(Long facilityId); List<MaintenanceRequest> getAllForVendor(Long vendorId); List<MaintenanceRequest> getOutstandingForVendor(Long vendorId); List<MaintenanceRequest> getOutstandingForUser(Long userId); MaintenanceRequest getById(Long id); void save(MaintenanceRequest request); List<Log> getFullHistory(Long inventoryId); }
MaintenanceRequestService { public List<MaintenanceRequest> getAll() { return repository.getAll(); }  List<MaintenanceRequest> getAll(); List<MaintenanceRequest> getAllForFacility(Long facilityId); List<MaintenanceRequest> getAllForVendor(Long vendorId); List<MaintenanceRequest> getOutstandingForVendor(Long vendorId); List<MaintenanceRequest> getOutstandingForUser(Long userId); MaintenanceRequest getById(Long id); void save(MaintenanceRequest request); List<Log> getFullHistory(Long inventoryId);  }