Пример #1
0
        public void Taking_snapshot_from_aggregate_with_applied_one_uncommitted_event_returns_that_event_was_applied()
        {
            var sut = new FakeAggregate();

            sut.BussinesOperation();
            var snapshot = (FakeAggregateState)sut.GetSnapshot().State;

            Assert.True(snapshot.FakeEventApplied);
        }