public void Should_Have_Single_Event_To_Persist() { // PREPARE // RUN var testAggregate = new TestAggregate(3232, "some name"); // ASSERT Assert.True(testAggregate.AggregateIsNotPersisted()); Assert.Equal(-1, testAggregate.AggregateVersion); Assert.Equal("3232", testAggregate.AggregateId); var changes = testAggregate.GetChanges(); Assert.Single(changes); var testAggregateCreated = (TestAggregateCreated)changes.Single(); Assert.Equal(3232, testAggregateCreated.TestAggregateId); Assert.Equal("some name", testAggregateCreated.Name); }