/** * @expectedException \RuntimeException */ public function testGetRequestWithRequestStackNotSet() { $this->appVariable->getRequest(); }