public function TokenStreamTest::testGetNextIdentifier in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/Tests/Parser/TokenStreamTest.php \Symfony\Component\CssSelector\Tests\Parser\TokenStreamTest::testGetNextIdentifier()
File
- vendor/
symfony/ css-selector/ Tests/ Parser/ TokenStreamTest.php, line 45
Class
Namespace
Symfony\Component\CssSelector\Tests\ParserCode
public function testGetNextIdentifier() {
$stream = new TokenStream();
$stream
->push(new Token(Token::TYPE_IDENTIFIER, 'h1', 0));
$this
->assertEquals('h1', $stream
->getNextIdentifier());
}