public function TokenStreamTest::testGetNextIdentifier 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::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());
}