You are here

public function ReverseProxyMiddlewareTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 30
Contains \Drupal\Tests\Core\StackMiddleware\ReverseProxyMiddlewareTest.

Class

ReverseProxyMiddlewareTest
Unit test the reverse proxy stack middleware.

Namespace

Drupal\Tests\Core\StackMiddleware

Code

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