You are here

public function WriteSafeSessionHandlerTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php \Drupal\Tests\Core\Session\WriteSafeSessionHandlerTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php, line 35
Contains \Drupal\Tests\Core\Session\WriteSafeSessionHandlerTest.

Class

WriteSafeSessionHandlerTest
Tests \Drupal\Core\Session\WriteSafeSessionHandler.

Namespace

Drupal\Tests\Core\Session

Code

public function setUp() {
  $this->wrappedSessionHandler = $this
    ->getMock('SessionHandlerInterface');
  $this->sessionHandler = new WriteSafeSessionHandler($this->wrappedSessionHandler);
}