You are here

public function FlashBagTest::testGetStorageKey in Zircon Profile 8

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

File

vendor/symfony/http-foundation/Tests/Session/Flash/FlashBagTest.php, line 57

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());
}