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