예제 #1
0
        public void ItHasPendingEvents()
        {
            IReadOnlyCollection <IEvent> events = sut.GetUncommittedEvents();

            Assert.Equal(1, events.Count);
        }
예제 #2
0
        public void ItHasNoPendingEvents()
        {
            IReadOnlyCollection <IEvent> pending = sut.GetUncommittedEvents();

            Assert.Equal(0, pending.Count);
        }
예제 #3
0
 public void ItHasNoPendingEvents()
 {
     Assert.Equal(0, sut.GetUncommittedEvents().Count);
 }