Example #1
0
        public void CanCreateAnEmptyEventHistoryByFactoryMethod()
        {
            var testee = EventHistory.Create();

            testee.IsEmpty.Should().BeTrue();
        }
Example #2
0
        public void CanCreateAnEmptyEventHistoryByConstructor()
        {
            var testee = new EventHistory(Enumerable.Empty <IEvent>());

            testee.IsEmpty.Should().BeTrue();
        }