@Test public void shouldGetAllForVendor() throws Exception { repository.getAllForVendor(9L); verify(mapper).getAllForVendor(9L); }
public List<MaintenanceLog> getAllForVendor(Long vendorId){ return mapper.getAllForVendor(vendorId); }
MaintenanceLogRepository { public List<MaintenanceLog> getAllForVendor(Long vendorId){ return mapper.getAllForVendor(vendorId); } }
MaintenanceLogRepository { public List<MaintenanceLog> getAllForVendor(Long vendorId){ return mapper.getAllForVendor(vendorId); }  }
MaintenanceLogRepository { public List<MaintenanceLog> getAllForVendor(Long vendorId){ return mapper.getAllForVendor(vendorId); }  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> getAllForVendor(Long vendorId){ return mapper.getAllForVendor(vendorId); }  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);  }