You are here

protected function HtmlTest::setUp in Zircon Profile 8

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

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Component/Utility/HtmlTest.php, line 25
Contains \Drupal\Tests\Component\Utility\HtmlTest.

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);
}