function AllowToolbarPathTest::setUp

Overrides UnitTestCase::setUp

File

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

Class

AllowToolbarPathTest
@coversDefaultClass \Drupal\toolbar\PageCache\AllowToolbarPath[[api-linebreak]] @group toolbar

Namespace

Drupal\Tests\toolbar\Unit\PageCache

Code

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

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