public function AbstractProxyTest::testSetActivePhp53

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Storage/Proxy/AbstractProxyTest.php, line 112

Class

AbstractProxyTest
Test class for AbstractProxy.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy

Code

public function testSetActivePhp53() {
  if (version_compare(phpversion(), '5.4.0', '>=')) {
    $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());
}