public function TokenStreamTest::testFailToGetNextIdentifier in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/css-selector/Tests/Parser/TokenStreamTest.php \Symfony\Component\CssSelector\Tests\Parser\TokenStreamTest::testFailToGetNextIdentifier()
File
- vendor/
symfony/ css-selector/ Tests/ Parser/ TokenStreamTest.php, line 53
Class
Namespace
Symfony\Component\CssSelector\Tests\ParserCode
public function testFailToGetNextIdentifier() {
$this
->setExpectedException('Symfony\\Component\\CssSelector\\Exception\\SyntaxErrorException');
$stream = new TokenStream();
$stream
->push(new Token(Token::TYPE_DELIMITER, '.', 2));
$stream
->getNextIdentifier();
}