You are here

public function NativeSessionStorageTest::testRegisterBagException in Zircon Profile 8.0

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

@expectedException \InvalidArgumentException

File

vendor/symfony/http-foundation/Tests/Session/Storage/NativeSessionStorageTest.php, line 80

Class

NativeSessionStorageTest
Test class for NativeSessionStorage.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage

Code

public function testRegisterBagException() {
  $storage = $this
    ->getStorage();
  $storage
    ->getBag('non_existing');
}