You are here

public function NamespacedAttributeBagTest::testGetStorageKey in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Tests/Session/Attribute/NamespacedAttributeBagTest.php \Symfony\Component\HttpFoundation\Tests\Session\Attribute\NamespacedAttributeBagTest::testGetStorageKey()

File

vendor/symfony/http-foundation/Tests/Session/Attribute/NamespacedAttributeBagTest.php, line 71

Class

NamespacedAttributeBagTest
Tests NamespacedAttributeBag.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Attribute

Code

public function testGetStorageKey() {
  $this
    ->assertEquals('_sf2', $this->bag
    ->getStorageKey());
  $attributeBag = new NamespacedAttributeBag('test');
  $this
    ->assertEquals('test', $attributeBag
    ->getStorageKey());
}