File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Storage/Proxy/SessionHandlerProxyTest.php, line 84
Class
- SessionHandlerProxyTest
- Tests for SessionHandlerProxy class.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy
Code
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());
}