You are here

public function MockArraySessionStorageTest::testGetId in Zircon Profile 8

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

File

vendor/symfony/http-foundation/Tests/Session/Storage/MockArraySessionStorageTest.php, line 92

Class

MockArraySessionStorageTest
Test class for MockArraySessionStorage.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage

Code

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