function AllowToolbarPathTest::setUp

Same name in other branches
  1. 9 core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php \Drupal\Tests\toolbar\Unit\PageCache\AllowToolbarPathTest::setUp()
  2. 10 core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php \Drupal\Tests\toolbar\Unit\PageCache\AllowToolbarPathTest::setUp()
  3. 11.x core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php \Drupal\Tests\toolbar\Unit\PageCache\AllowToolbarPathTest::setUp()

Overrides UnitTestCase::setUp

File

core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php, line 23

Class

AllowToolbarPathTest
@coversDefaultClass \Drupal\toolbar\PageCache\AllowToolbarPath @group toolbar

Namespace

Drupal\Tests\toolbar\Unit\PageCache

Code

protected function setUp() {
    $this->policy = new AllowToolbarPath();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.