You are here

public function SessionTest::testGetId in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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());
}