public function NamespacedAttributeBagTest::testAll in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/Session/Attribute/NamespacedAttributeBagTest.php \Symfony\Component\HttpFoundation\Tests\Session\Attribute\NamespacedAttributeBagTest::testAll()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Attribute/ NamespacedAttributeBagTest.php, line 109
Class
- NamespacedAttributeBagTest
- Tests NamespacedAttributeBag.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\AttributeCode
public function testAll() {
$this
->assertEquals($this->array, $this->bag
->all());
$this->bag
->set('hello', 'fabien');
$array = $this->array;
$array['hello'] = 'fabien';
$this
->assertEquals($array, $this->bag
->all());
}