public void IsValid_EmailAddressIsNullEmptyOrInvalid_ReturnsTrue(string emailAddress) { // Arrange ExternalEmailAddressAttribute attribute = new ExternalEmailAddressAttribute(); // Act bool result = attribute.IsValid(emailAddress); // Assert Assert.Equal(true, result); }
public void IsValid_EmailAddressIsNullEmptyOrInvalid_ReturnsTrue(string emailAddress) { // Arrange ExternalEmailAddressAttribute attribute = new ExternalEmailAddressAttribute(); // Act bool result = attribute.IsValid(emailAddress); // Assert Assert.Equal(true, result); }
public void IsValid_EmailAddressDoesBelongToAuthorisedAuthority_ReturnsFalse(string emailAddress) { // Arrange ExternalEmailAddressAttribute attribute = new ExternalEmailAddressAttribute(); // Act bool result = attribute.IsValid(emailAddress); // Assert Assert.Equal(false, result); }
public void IsValid_EmailAddressDoesBelongToAuthorisedAuthority_ReturnsFalse(string emailAddress) { // Arrange ExternalEmailAddressAttribute attribute = new ExternalEmailAddressAttribute(); // Act bool result = attribute.IsValid(emailAddress); // Assert Assert.Equal(false, result); }