public function AbstractProxyTest::testSetActivePhp53 in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/Session/Storage/Proxy/AbstractProxyTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy\AbstractProxyTest::testSetActivePhp53()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Proxy/ AbstractProxyTest.php, line 112
Class
- AbstractProxyTest
- Test class for AbstractProxy.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\Storage\ProxyCode
public function testSetActivePhp53() {
if (PHP_VERSION_ID >= 50400) {
$this
->markTestSkipped('Test skipped, for PHP 5.3 only.');
}
$this->proxy
->setActive(true);
$this
->assertTrue($this->proxy
->isActive());
$this->proxy
->setActive(false);
$this
->assertFalse($this->proxy
->isActive());
}