You are here

public function AbstractProxyTest::testName in Zircon Profile 8.0

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

@runInSeparateProcess @preserveGlobalState disabled

File

vendor/symfony/http-foundation/Tests/Session/Storage/Proxy/AbstractProxyTest.php, line 142

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