You are here

public function EmailValidatorTest::testInvalidEmailsWithErrorsCheck in Zircon Profile 8

Same name and namespace in other branches
  1. 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

EmailValidatorTest

Namespace

Egulias\Tests\EmailValidator

Code

public function testInvalidEmailsWithErrorsCheck($errors, $email) {
  $this
    ->assertFalse($this->validator
    ->isValid($email));
  $this
    ->assertEquals($errors, $this->validator
    ->getError());
}