public function AbstractProxyTest::testIdExceptionPhp53

@expectedException \LogicException

File

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

Class

AbstractProxyTest
Test class for AbstractProxy.

Namespace

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

Code

public function testIdExceptionPhp53() {
  if (version_compare(phpversion(), '5.4.0', '>=')) {
    $this
      ->markTestSkipped('Test skipped, for PHP 5.3 only.');
  }
  $this->proxy
    ->setActive(true);
  $this->proxy
    ->setId('foo');
}