public void ClearDomainEvents_Should_Remove_All_AvailableEvents() { var a = new Aggregate(); a.AddEvent(); a.DomainEvents.Should().HaveCount(1); a.ClearDomainEvents(); a.DomainEvents.Should().BeEmpty(); }