public function EmailLexerTests::testLexerParsesInvalidUTF8 in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/egulias/email-validator/tests/egulias/Tests/EmailValidator/EmailLexerTest.php \Egulias\EmailValidator\Tests\EmailLexerTests::testLexerParsesInvalidUTF8()
@dataProvider invalidUTF8CharsProvider
File
- vendor/
egulias/ email-validator/ tests/ egulias/ Tests/ EmailValidator/ EmailLexerTest.php, line 43
Class
Namespace
Egulias\EmailValidator\TestsCode
public function testLexerParsesInvalidUTF8($char) {
$lexer = new EmailLexer();
$lexer
->setInput($char);
$lexer
->moveNext();
$lexer
->moveNext();
$this
->assertEquals(EmailLexer::INVALID, $lexer->token['type']);
}