private void UpdateStream(IEventStream stream, int commitCount = 1) { while (commitCount-- > 0) { var commit = new Commit(Guid.NewGuid(), new[] { new TestEvent() }); stream.Persist(commit); } }