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