You are here

public function AbstractProxyTest::testIsSessionHandlerInterface in Zircon Profile 8

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

File

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

Class

AbstractProxyTest
Test class for AbstractProxy.

Namespace

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

Code

public function testIsSessionHandlerInterface() {
  $this
    ->assertFalse($this->proxy
    ->isSessionHandlerInterface());
  $sh = new ConcreteSessionHandlerInterfaceProxy();
  $this
    ->assertTrue($sh
    ->isSessionHandlerInterface());
}