Neos\FluidAdaptor\Tests\Unit\View\StandaloneViewTest::getLayoutPathAndFilenameThrowsExceptionIfSpecifiedLayoutRootPathIsNoDirectory PHP Method

getLayoutPathAndFilenameThrowsExceptionIfSpecifiedLayoutRootPathIsNoDirectory() public method

    public function getLayoutPathAndFilenameThrowsExceptionIfSpecifiedLayoutRootPathIsNoDirectory()
    {
        vfsStreamWrapper::register();
        mkdir('vfs://MyLayouts');
        \file_put_contents('vfs://MyLayouts/NotAFolder', 'foo');
        $this->standaloneView->setLayoutRootPath('vfs://MyLayouts/NotAFolder');
        $this->standaloneView->getTemplatePaths()->getLayoutSource();
    }