public function AbstractProxyTest::testName

@runInSeparateProcess

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Storage/Proxy/AbstractProxyTest.php, line 140

Class

AbstractProxyTest
Test class for AbstractProxy.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy

Code

public function testName() {
  $this
    ->assertEquals(session_name(), $this->proxy
    ->getName());
  $this->proxy
    ->setName('foo');
  $this
    ->assertEquals('foo', $this->proxy
    ->getName());
  $this
    ->assertEquals(session_name(), $this->proxy
    ->getName());
}