public void A_Valid_Email_Address_Will_Satisfiy_The_Email_Validation_Specification() { const string invalidEmailAddress = "*****@*****.**"; EmailValidationSpecification emailValidationSpecification = new EmailValidationSpecification(); Assert.IsTrue(emailValidationSpecification.IsSatisfiedBy(invalidEmailAddress)); }
public void An_Empty_String_Will_Not_Satisfiy_The_Email_Validation_Specification() { string invalidEmailAddress = String.Empty; EmailValidationSpecification emailValidationSpecification = new EmailValidationSpecification(); Assert.IsFalse(emailValidationSpecification.IsSatisfiedBy(invalidEmailAddress)); }
public void An_Invalid_Email_Address_Will_Not_Satisfiy_The_Email_Validation_Specification() { string invalidEmailAddress = "gg@kkkkk"; EmailValidationSpecification emailValidationSpecification = new EmailValidationSpecification(); Assert.IsFalse(emailValidationSpecification.IsSatisfiedBy(invalidEmailAddress)); }
public void A_Valid_Email_Address_Will_Satisfiy_The_Email_Validation_Specification() { _emailValidationSpecification.IsSatisfiedBy(_validEmailAddress) .Should().BeTrue(); }
public void A_Valid_Email_Address_Will_Satisfiy_The_Email_Validation_Specification() { Assert.IsTrue(_emailValidationSpecification.IsSatisfiedBy(_validEmailAddress)); }
public void Then_the_email_address_will_not_satisfiy_the_email_validation_specification() { _emailValidationSpecification.IsSatisfiedBy(_blankEmailAddress).Should().BeFalse(); }
public void Then_the_email_address_will_not_satisfiy_the_email_validation_specification() { Assert.IsFalse(_emailValidationSpecification.IsSatisfiedBy(_invalidEmailAddress)); }