public void Events_are_ordered_by_SequenceNumber_regardless_of_the_order_in_which_they_are_added() { var events = new EventSequence(Guid.NewGuid()); events.Add(new TestEvent { SequenceNumber = 3 }); events.Add(new TestEvent { SequenceNumber = 2 }); events.Add(new TestEvent { SequenceNumber = 1 }); events.Add(new TestEvent { SequenceNumber = 4 }); events.Select(e => e.SequenceNumber).Should().BeInAscendingOrder(); }