/** * @test * @expectedException \TYPO3\Flow\Session\Exception\SessionNotStartedException */ public function tryingToGetTheSessionIdWithoutStartingTheSessionThrowsAnException() { $session = new \TYPO3\Flow\Session\TransientSession(); $session->getId(); }