@Test public void shouldGetAll() throws Exception { service.getAll(); verify(repository).getAll(); }
public List<MaintenanceLog> getAll() { return repository.getAll(); }
MaintenanceLogService { public List<MaintenanceLog> getAll() { return repository.getAll(); } }
MaintenanceLogService { public List<MaintenanceLog> getAll() { return repository.getAll(); }  }
MaintenanceLogService { public List<MaintenanceLog> getAll() { return repository.getAll(); }  List<MaintenanceLog> getAll(); List<MaintenanceLog> getAllForFacility(Long facilityId); List<MaintenanceLog> getAllForVendor(Long vendorId); MaintenanceLog getById(Long id); void save(MaintenanceLog log); void save(MaintenanceRequest maintenanceRequest); }
MaintenanceLogService { public List<MaintenanceLog> getAll() { return repository.getAll(); }  List<MaintenanceLog> getAll(); List<MaintenanceLog> getAllForFacility(Long facilityId); List<MaintenanceLog> getAllForVendor(Long vendorId); MaintenanceLog getById(Long id); void save(MaintenanceLog log); void save(MaintenanceRequest maintenanceRequest);  }