public function EmailValidatorTest::testInvalidEmailsWithErrorsCheck in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/egulias/email-validator/tests/egulias/Tests/EmailValidator/EmailValidatorTest.php \Egulias\Tests\EmailValidator\EmailValidatorTest::testInvalidEmailsWithErrorsCheck()
@dataProvider getInvalidEmailsWithErrors
File
- vendor/
egulias/ email-validator/ tests/ egulias/ Tests/ EmailValidator/ EmailValidatorTest.php, line 132
Class
Namespace
Egulias\Tests\EmailValidatorCode
public function testInvalidEmailsWithErrorsCheck($errors, $email) {
$this
->assertFalse($this->validator
->isValid($email));
$this
->assertEquals($errors, $this->validator
->getError());
}