pub(crate) fn batch_sealed_with<F>(mut self, description: &'static str, f: F) -> Self
    where
        F: FnOnce(&UpdatesManager) + Send + 'static,
    {
        self.actions
            .push_back(ScenarioItem::BatchSeal(description, Some(Box::new(f))));
        self
    }
Expects the batch to be sealed.
Accepts a function that would be given access to the received batch seal params, which can implement
additional assertions on the sealed batch.
core/node/state_keeper/src/testonly/test_batch_executor.rs