Neos\FluidAdaptor\Tests\Unit\Core\Widget\AbstractWidgetViewHelperTest::initiateSubRequestThrowsExceptionIfControllerIsNoWidgetController PHP Method

initiateSubRequestThrowsExceptionIfControllerIsNoWidgetController() public method

    public function initiateSubRequestThrowsExceptionIfControllerIsNoWidgetController()
    {
        $controller = $this->createMock(\Neos\Flow\Mvc\Controller\ControllerInterface::class);
        $this->viewHelper->_set('controller', $controller);
        $this->viewHelper->_call('initiateSubRequest');
    }