public void ShouldBeUpdatedBy_UpdatedById_When_Entity_Null_Fails_Assertion() { // Arrange IUpdatable entity = null; // Act & Assert Should.Throw <ShouldAssertException>(() => entity.ShouldBeUpdatedBy(updatedById: Random.Long())); }
public void ShouldBeUpdatedBy_UpdatedBy_When_Entity_Null_Fails_Assertion() { // Arrange IUpdatable entity = null; // Act & Assert Should.Throw <ShouldAssertException>(() => entity.ShouldBeUpdatedBy(updatedBy: Build <UserStub>())); }