public void AddDomainEvent_SingleDomainEvent_ShouldNotBeEmpty() { // Arrange var entity = new MockEntity(); var domainEvent = new MockDomainEvent(); // Act entity.AddDomainEvent(domainEvent); // Assert entity.DomainEvents.Should().NotBeEmpty(); }
public void AddDomainEvent_SingleDomainEvent_ShouldNotBeEmpty() { // Arrange var entity = new MockEntity(); var domainEvent = new MockDomainEvent(); // Act entity.AddDomainEvent(domainEvent); // Assert entity.DomainEvents.Should().NotBeEmpty(); }