Exemple #1
0
        public void AggregateRoot_AddEvent_Succeeds()
        {
            // arrange
            var sut = new RootModel();

            // act
            sut.AddEvent(new SomeEvent(sut));

            // assert
            sut.EventQueue.Should().NotBeEmpty();
        }