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