/** * @test * @expectedException \Neos\FluidAdaptor\Core\Widget\Exception\MissingControllerException */ public function initiateSubRequestThrowsExceptionIfControllerIsNoWidgetController() { $controller = $this->createMock(\Neos\Flow\Mvc\Controller\ControllerInterface::class); $this->viewHelper->_set('controller', $controller); $this->viewHelper->_call('initiateSubRequest'); }