public function SessionHandlerProxyTest::testOpenFalse in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/Session/Storage/Proxy/SessionHandlerProxyTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy\SessionHandlerProxyTest::testOpenFalse()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Proxy/ SessionHandlerProxyTest.php, line 63
Class
- SessionHandlerProxyTest
- Tests for SessionHandlerProxy class.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\Storage\ProxyCode
public function testOpenFalse() {
$this->mock
->expects($this
->once())
->method('open')
->will($this
->returnValue(false));
$this
->assertFalse($this->proxy
->isActive());
$this->proxy
->open('name', 'id');
$this
->assertFalse($this->proxy
->isActive());
}