protected function NoSessionOpenTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php \Drupal\Tests\Core\PageCache\NoSessionOpenTest::setUp()
- 9 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 30
Class
- NoSessionOpenTest
- @coversDefaultClass \Drupal\Core\PageCache\RequestPolicy\NoSessionOpen @group PageCache
Namespace
Drupal\Tests\Core\PageCacheCode
protected function setUp() : void {
$this->sessionConfiguration = $this
->createMock('Drupal\\Core\\Session\\SessionConfigurationInterface');
$this->policy = new NoSessionOpen($this->sessionConfiguration);
}