public function AbstractProxyTest::testSetActive

File

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

Class

AbstractProxyTest
Test class for AbstractProxy.

Namespace

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

Code

public function testSetActive() {
  $this->proxy
    ->setActive(true);
  $this
    ->assertTrue($this->proxy
    ->isActive());
  $this->proxy
    ->setActive(false);
  $this
    ->assertFalse($this->proxy
    ->isActive());
}