You are here

public function AbstractHandlerTest::testDontHandleValue in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/css-selector/Tests/Parser/Handler/AbstractHandlerTest.php \Symfony\Component\CssSelector\Tests\Parser\Handler\AbstractHandlerTest::testDontHandleValue()

@dataProvider getDontHandleValueTestData

File

vendor/symfony/css-selector/Tests/Parser/Handler/AbstractHandlerTest.php, line 35

Class

AbstractHandlerTest
@author Jean-François Simon <contact@jfsimon.fr>

Namespace

Symfony\Component\CssSelector\Tests\Parser\Handler

Code

public function testDontHandleValue($value) {
  $reader = new Reader($value);
  $stream = new TokenStream();
  $this
    ->assertFalse($this
    ->generateHandler()
    ->handle($reader, $stream));
  $this
    ->assertStreamEmpty($stream);
  $this
    ->assertRemainingContent($reader, $value);
}