@Test public void shouldGetFullHistory() throws Exception { service.getFullHistory(3L); verify(repository).getFullHistory(3L); }
public List<Log> getFullHistory(Long inventoryId) { return repository.getFullHistory(inventoryId); }
MaintenanceRequestService { public List<Log> getFullHistory(Long inventoryId) { return repository.getFullHistory(inventoryId); } }
MaintenanceRequestService { public List<Log> getFullHistory(Long inventoryId) { return repository.getFullHistory(inventoryId); }  }
MaintenanceRequestService { public List<Log> getFullHistory(Long inventoryId) { return repository.getFullHistory(inventoryId); }  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<Log> getFullHistory(Long inventoryId) { return repository.getFullHistory(inventoryId); }  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);  }