public function SessionTest::testSetId

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/SessionTest.php, line 64

Class

SessionTest
SessionTest

Namespace

Symfony\Component\HttpFoundation\Tests\Session

Code

public function testSetId() {
  $this
    ->assertEquals('', $this->session
    ->getId());
  $this->session
    ->setId('0123456789abcdef');
  $this->session
    ->start();
  $this
    ->assertEquals('0123456789abcdef', $this->session
    ->getId());
}