You are here

public function AttributeBagTest::testGetStorageKey in Zircon Profile 8.0

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

File

vendor/symfony/http-foundation/Tests/Session/Attribute/AttributeBagTest.php, line 69

Class

AttributeBagTest
Tests AttributeBag.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Attribute

Code

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