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 Given()
 {
     _validEmailAddress            = "*****@*****.**";
     _emailValidationSpecification = new EmailValidationSpecification();
 }
Exemplo n.º 5
0
 public void Given()
 {
     _blankEmailAddress            = string.Empty;
     _emailValidationSpecification = new EmailValidationSpecification();
 }
        public void Given()
        {
            _invalidEmailAddress = "gg@kkkkk";

            _emailValidationSpecification = new EmailValidationSpecification();
        }