Neos\FluidAdaptor\Tests\Functional\View\StandaloneViewTest::viewThrowsExceptionWhenUnknownViewHelperIsCalled PHP Method

viewThrowsExceptionWhenUnknownViewHelperIsCalled() public method

    public function viewThrowsExceptionWhenUnknownViewHelperIsCalled()
    {
        $httpRequest = Request::create(new Uri('http://localhost'));
        $actionRequest = new ActionRequest($httpRequest);
        $actionRequest->setFormat('txt');
        $standaloneView = new Fixtures\View\StandaloneView($actionRequest, $this->standaloneViewNonce);
        $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures/TestTemplateWithUnknownViewHelper.txt');
        $standaloneView->setLayoutRootPath(__DIR__ . '/Fixtures/SpecialLayouts');
        $standaloneView->render();
    }