You are here

public function TokenStreamTest::testFailToGetNextIdentifierOrStar 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::testFailToGetNextIdentifierOrStar()

File

vendor/symfony/css-selector/Tests/Parser/TokenStreamTest.php, line 73

Class

TokenStreamTest

Namespace

Symfony\Component\CssSelector\Tests\Parser

Code

public function testFailToGetNextIdentifierOrStar() {
  $this
    ->setExpectedException('Symfony\\Component\\CssSelector\\Exception\\SyntaxErrorException');
  $stream = new TokenStream();
  $stream
    ->push(new Token(Token::TYPE_DELIMITER, '.', 2));
  $stream
    ->getNextIdentifierOrStar();
}