public function CommentHandlerTest::testHandleValue in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/css-selector/Tests/Parser/Handler/CommentHandlerTest.php \Symfony\Component\CssSelector\Tests\Parser\Handler\CommentHandlerTest::testHandleValue()
@dataProvider getHandleValueTestData
Overrides AbstractHandlerTest::testHandleValue
File
- vendor/
symfony/ css-selector/ Tests/ Parser/ Handler/ CommentHandlerTest.php, line 22
Class
Namespace
Symfony\Component\CssSelector\Tests\Parser\HandlerCode
public function testHandleValue($value, Token $unusedArgument, $remainingContent) {
$reader = new Reader($value);
$stream = new TokenStream();
$this
->assertTrue($this
->generateHandler()
->handle($reader, $stream));
// comments are ignored (not pushed as token in stream)
$this
->assertStreamEmpty($stream);
$this
->assertRemainingContent($reader, $remainingContent);
}