/** * @covers ::__construct * @covers ::setOptions * @covers ::getId * @covers ::setId * @covers ::hasStarted * @expectedException \LogicException * * @runInSeparateProcess */ public function testIdException() { $session = new Session(); $session->start(); $session->setId('id-that-cant-be-set'); }