public void InvalidEmailIsRejected(string email) { var validator = new EmailField(); var isValid = validator.ValidateEmailAddress(email); Assert.False(isValid); }