public function SessionHandlerProxyTest::testClose 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::testClose()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Proxy/ SessionHandlerProxyTest.php, line 74
Class
- SessionHandlerProxyTest
- Tests for SessionHandlerProxy class.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\Storage\ProxyCode
public function testClose() {
$this->mock
->expects($this
->once())
->method('close')
->will($this
->returnValue(true));
$this
->assertFalse($this->proxy
->isActive());
$this->proxy
->close();
$this
->assertFalse($this->proxy
->isActive());
}