You are here

public function TokenStreamTest::testGetNextIdentifier in Zircon Profile 8

Same name and namespace in other branches
  1. 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

TokenStreamTest

Namespace

Symfony\Component\CssSelector\Tests\Parser

Code

public function testGetNextIdentifier() {
  $stream = new TokenStream();
  $stream
    ->push(new Token(Token::TYPE_IDENTIFIER, 'h1', 0));
  $this
    ->assertEquals('h1', $stream
    ->getNextIdentifier());
}