@Test public void shouldGetAllForFacility() throws Exception { repository.getAllForFacility(9L); verify(mapper).getAllForFacility(9L); }
public List<MaintenanceLog> getAllForFacility(Long facilityId){ return mapper.getAllForFacility(facilityId); }
MaintenanceLogRepository { public List<MaintenanceLog> getAllForFacility(Long facilityId){ return mapper.getAllForFacility(facilityId); } }
MaintenanceLogRepository { public List<MaintenanceLog> getAllForFacility(Long facilityId){ return mapper.getAllForFacility(facilityId); }  }
MaintenanceLogRepository { public List<MaintenanceLog> getAllForFacility(Long facilityId){ return mapper.getAllForFacility(facilityId); }  MaintenanceLog getById(Long id); List<MaintenanceLog> getAllForFacility(Long facilityId); List<MaintenanceLog> getAllForVendor(Long vendorId); List<MaintenanceLog> getAll(); void insert(MaintenanceLog value); void update(MaintenanceLog value); }
MaintenanceLogRepository { public List<MaintenanceLog> getAllForFacility(Long facilityId){ return mapper.getAllForFacility(facilityId); }  MaintenanceLog getById(Long id); List<MaintenanceLog> getAllForFacility(Long facilityId); List<MaintenanceLog> getAllForVendor(Long vendorId); List<MaintenanceLog> getAll(); void insert(MaintenanceLog value); void update(MaintenanceLog value);  }