You are here

protected function AbstractHandlerTest::assertStreamEmpty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/css-selector/Tests/Parser/Handler/AbstractHandlerTest.php \Symfony\Component\CssSelector\Tests\Parser\Handler\AbstractHandlerTest::assertStreamEmpty()
2 calls to AbstractHandlerTest::assertStreamEmpty()
AbstractHandlerTest::testDontHandleValue in vendor/symfony/css-selector/Tests/Parser/Handler/AbstractHandlerTest.php
@dataProvider getDontHandleValueTestData
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 49

Class

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

Namespace

Symfony\Component\CssSelector\Tests\Parser\Handler

Code

protected function assertStreamEmpty(TokenStream $stream) {
  $property = new \ReflectionProperty($stream, 'tokens');
  $property
    ->setAccessible(true);
  $this
    ->assertEquals(array(), $property
    ->getValue($stream));
}