public function AbstractHandlerTest::testHandleValue in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/Tests/Parser/Handler/AbstractHandlerTest.php \Symfony\Component\CssSelector\Tests\Parser\Handler\AbstractHandlerTest::testHandleValue()
@dataProvider getHandleValueTestData
1 method overrides AbstractHandlerTest::testHandleValue()
- CommentHandlerTest::testHandleValue in vendor/
symfony/ css-selector/ Tests/ Parser/ Handler/ CommentHandlerTest.php - @dataProvider getHandleValueTestData
File
- vendor/
symfony/ css-selector/ Tests/ Parser/ Handler/ AbstractHandlerTest.php, line 24
Class
- AbstractHandlerTest
- @author Jean-François Simon <contact@jfsimon.fr>
Namespace
Symfony\Component\CssSelector\Tests\Parser\HandlerCode
public function testHandleValue($value, Token $expectedToken, $remainingContent) {
$reader = new Reader($value);
$stream = new TokenStream();
$this
->assertTrue($this
->generateHandler()
->handle($reader, $stream));
$this
->assertEquals($expectedToken, $stream
->getNext());
$this
->assertRemainingContent($reader, $remainingContent);
}