You are here

public function SessionTest::testGetId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/Session/SessionTest.php \Symfony\Component\HttpFoundation\Tests\Session\SessionTest::testGetId()

File

vendor/symfony/http-foundation/Tests/Session/SessionTest.php, line 181

Class

SessionTest
SessionTest.

Namespace

Symfony\Component\HttpFoundation\Tests\Session

Code

public function testGetId() {
  $this
    ->assertEquals('', $this->session
    ->getId());
  $this->session
    ->start();
  $this
    ->assertNotEquals('', $this->session
    ->getId());
}