Add one ready morsel with a single batch.
(mut self, morsel_id: MorselId, batch_id: i32)
| 259 | |
| 260 | /// Add one ready morsel with a single batch. |
| 261 | pub(crate) fn with_morsel(mut self, morsel_id: MorselId, batch_id: i32) -> Self { |
| 262 | self.morsels.push(MockMorselSpec { |
| 263 | morsel_id, |
| 264 | batch_ids: vec![batch_id], |
| 265 | }); |
| 266 | self |
| 267 | } |
| 268 | |
| 269 | /// Add one ready morsel with multiple batches. |
| 270 | pub(crate) fn with_morsel_batches( |
no test coverage detected