You are here

public function ChainResponsePolicyTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 43
Contains \Drupal\Tests\Core\PageCache\ChainResponsePolicyTest.

Class

ChainResponsePolicyTest
@coversDefaultClass \Drupal\Core\PageCache\ChainResponsePolicy @group PageCache

Namespace

Drupal\Tests\Core\PageCache

Code

public function setUp() {
  $this->policy = new ChainResponsePolicy();
  $this->response = new Response();
  $this->request = new Request();
}