Example #1
0
        private void AssertJournalEntriesAreSequential(ICommandStore storage)
        {
            ulong expected = 1;

            foreach (var journalEntry in storage.CommandEntries())
            {
                Assert.AreEqual(expected, journalEntry.Id);
                expected++;
            }
        }
Example #2
0
        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++;
            }
        }
Example #3
0
 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++;
     }
 }
Example #4
0
 private void AssertJournalEntriesAreSequential(ICommandStore storage)
 {
     ulong expected = 1;
     foreach (var journalEntry in storage.CommandEntries())
     {
         Assert.AreEqual(expected, journalEntry.Id);
         expected++;
     }
 }