protected function ChainResponsePolicyTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php \Drupal\Tests\Core\PageCache\ChainResponsePolicyTest::setUp()
- 9 core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php \Drupal\Tests\Core\PageCache\ChainResponsePolicyTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
tests/ Drupal/ Tests/ Core/ PageCache/ ChainResponsePolicyTest.php, line 38
Class
- ChainResponsePolicyTest
- @coversDefaultClass \Drupal\Core\PageCache\ChainResponsePolicy @group PageCache
Namespace
Drupal\Tests\Core\PageCacheCode
protected function setUp() : void {
$this->policy = new ChainResponsePolicy();
$this->response = new Response();
$this->request = new Request();
}