File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.php, line 42
Class
- NativeSessionStorageTest
- Test class for NativeSessionStorage.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\Storage
Code
public function testBag() {
$storage = $this
->getStorage();
$bag = new FlashBag();
$storage
->registerBag($bag);
$this
->assertSame($bag, $storage
->getBag($bag
->getName()));
}