public function EmailLexerTests::testLexerParsesMultipleSpaces 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::testLexerParsesMultipleSpaces()
File
- vendor/
egulias/ email-validator/ tests/ egulias/ Tests/ EmailValidator/ EmailLexerTest.php, line 29
Class
Namespace
Egulias\EmailValidator\TestsCode
public function testLexerParsesMultipleSpaces() {
$lexer = new EmailLexer();
$lexer
->setInput(' ');
$lexer
->moveNext();
$lexer
->moveNext();
$this
->assertEquals(EmailLexer::S_SP, $lexer->token['type']);
$lexer
->moveNext();
$this
->assertEquals(EmailLexer::S_SP, $lexer->token['type']);
}