You are here

public function NoSessionOpenTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php \Drupal\Tests\Core\PageCache\NoSessionOpenTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php, line 35
Contains \Drupal\Tests\Core\PageCache\NoSessionOpenTest.

Class

NoSessionOpenTest
@coversDefaultClass \Drupal\Core\PageCache\RequestPolicy\NoSessionOpen @group PageCache

Namespace

Drupal\Tests\Core\PageCache

Code

public function setUp() {
  $this->sessionConfiguration = $this
    ->getMock('Drupal\\Core\\Session\\SessionConfigurationInterface');
  $this->policy = new RequestPolicy\NoSessionOpen($this->sessionConfiguration);
}