function ChainResponsePolicyTest::setUp
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ PageCache/ ChainResponsePolicyTest.php, line 43
Class
- ChainResponsePolicyTest
- @coversDefaultClass \Drupal\Core\PageCache\ChainResponsePolicy[[api-linebreak]] @group PageCache
Namespace
Drupal\Tests\Core\PageCacheCode
protected function setUp() : void {
parent::setUp();
$this->policy = new ChainResponsePolicy();
$this->response = new Response();
$this->request = new Request();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.