private void AssertJournalEntriesAreSequential(ICommandStore storage) { ulong expected = 1; foreach (var journalEntry in storage.CommandEntries()) { Assert.AreEqual(expected, journalEntry.Id); expected++; } }
private void AssertJournalEntriesAreSequential(ICommandStore storage) { ulong expected = 1; Console.WriteLine("JournalEntry Ids:"); foreach (var journalEntry in storage.CommandEntries()) { Console.WriteLine(journalEntry.Id); Assert.AreEqual(expected, journalEntry.Id); expected++; } }