You are here

protected function HtmlTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Component/Utility/HtmlTest.php \Drupal\Tests\Component\Utility\HtmlTest::setUp()

File

core/tests/Drupal/Tests/Component/Utility/HtmlTest.php, line 23

Class

HtmlTest
Tests \Drupal\Component\Utility\Html.

Namespace

Drupal\Tests\Component\Utility

Code

protected function setUp() {
  parent::setUp();
  $property = new \ReflectionProperty('Drupal\\Component\\Utility\\Html', 'seenIdsInit');
  $property
    ->setAccessible(TRUE);
  $property
    ->setValue(NULL);
}