public BatchOperation(IStoreBatchProgress store, MigrationConfig config) { _store = store; _config = config; _processed = _store.StartOrContinue(config.Name); EventStore.Logger.Debug($"'{config.Name}' [migration] starts/resumes after {_processed.Value} commits"); }
private void ConfigureStore() { _store.StartOrContinue("test").Returns(new ProcessedCommitsCount(0)); }