public function SessionTest::testGet in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/Session/SessionTest.php \Symfony\Component\HttpFoundation\Tests\Session\SessionTest::testGet()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ SessionTest.php, line 80
Class
- SessionTest
- SessionTest.
Namespace
Symfony\Component\HttpFoundation\Tests\SessionCode
public function testGet() {
// tests defaults
$this
->assertNull($this->session
->get('foo'));
$this
->assertEquals(1, $this->session
->get('foo', 1));
}