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

getLayoutPathAndFilenameThrowsExceptionIfLayoutFileIsADirectory() public method

    public function getLayoutPathAndFilenameThrowsExceptionIfLayoutFileIsADirectory()
    {
        vfsStreamWrapper::register();
        mkdir('vfs://MyLayouts/NotAFile');
        $this->standaloneView->setLayoutRootPath('vfs://MyLayouts');
        $this->standaloneView->getTemplatePaths()->getLayoutSource('NotAFile');
    }