public void EmailAddress_LowellEmailsAllowed(string emailAddress)
        {
            RegisterVm vm = new RegisterVm()
            {
                EmailAddress    = emailAddress,
                Password        = "******",
                ConfirmPassword = "******",
                TsAndCsAccepted = true
            };

            _validator = new RegisterVmValidator(new PortalSetting {
                AllowLowellEmailAddresses = true
            });
            ValidationResult result = _validator.Validate(vm);

            Assert.IsTrue(result.IsValid);
        }
 public void SetUp()
 {
     _validator = new RegisterVmValidator(new PortalSetting {
         AllowLowellEmailAddresses = false
     });
 }