public function MockArraySessionStorageTest::testStart in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/Session/Storage/MockArraySessionStorageTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\MockArraySessionStorageTest::testStart()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ MockArraySessionStorageTest.php, line 66
Class
- MockArraySessionStorageTest
- Test class for MockArraySessionStorage.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\StorageCode
public function testStart() {
$this
->assertEquals('', $this->storage
->getId());
$this->storage
->start();
$id = $this->storage
->getId();
$this
->assertNotEquals('', $id);
$this->storage
->start();
$this
->assertEquals($id, $this->storage
->getId());
}