public function MetadataBagTest::testGetSetName in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/Session/Storage/MetadataBagTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\MetadataBagTest::testGetSetName()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ MetadataBagTest.php, line 68
Class
- MetadataBagTest
- Test class for MetadataBag.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\StorageCode
public function testGetSetName() {
$this
->assertEquals('__metadata', $this->bag
->getName());
$this->bag
->setName('foo');
$this
->assertEquals('foo', $this->bag
->getName());
}