You are here

protected function ReverseProxyMiddlewareTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php \Drupal\Tests\Core\StackMiddleware\ReverseProxyMiddlewareTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php, line 27

Class

ReverseProxyMiddlewareTest
Unit test the reverse proxy stack middleware.

Namespace

Drupal\Tests\Core\StackMiddleware

Code

protected function setUp() {
  $this->mockHttpKernel = $this
    ->createMock('Symfony\\Component\\HttpKernel\\HttpKernelInterface');
}