Esempio n. 1
0
        public void CanCreateAnEmptyEventHistoryByFactoryMethod()
        {
            var testee = EventHistory.Create();

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

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