public function AttributeBagTest::testGetDefaults in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/Session/Attribute/AttributeBagTest.php \Symfony\Component\HttpFoundation\Tests\Session\Attribute\AttributeBagTest::testGetDefaults()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Attribute/ AttributeBagTest.php, line 99
Class
- AttributeBagTest
- Tests AttributeBag.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\AttributeCode
public function testGetDefaults() {
$this
->assertNull($this->bag
->get('user2.login'));
$this
->assertEquals('default', $this->bag
->get('user2.login', 'default'));
}