/** * @runInSeparateProcess * @expectedException \LogicException */ public function testIdExceptionPhp54() { if (version_compare(phpversion(), '5.4.0', '<')) { $this->markTestSkipped('Test skipped, for PHP 5.4 only.'); } session_start(); $this->proxy->setId('foo'); }
/** * @runInSeparateProcess * @preserveGlobalState disabled * @expectedException \LogicException */ public function testIdExceptionPhp54() { if (PHP_VERSION_ID < 50400) { $this->markTestSkipped('Test skipped, for PHP 5.4 only.'); } session_start(); $this->proxy->setId('foo'); }
/** * {@inheritdoc} */ public function setId($id) { $this->saveHandler->setId($id); }
/** * @expectedException \LogicException */ public function testIdException() { $this->proxy->setActive(true); $this->proxy->setId('foo'); }
/** * @runInSeparateProcess * @preserveGlobalState disabled * @expectedException \LogicException */ public function testIdException() { session_start(); $this->proxy->setId('foo'); }