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