public function FlashBagTest::testGetStorageKey

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Flash/FlashBagTest.php, line 58

Class

FlashBagTest
FlashBagTest

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Flash

Code

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