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

getPartialPathAndFilenameThrowsExceptionIfPartialFileIsADirectory() public method

    public function getPartialPathAndFilenameThrowsExceptionIfPartialFileIsADirectory()
    {
        vfsStreamWrapper::register();
        mkdir('vfs://MyPartials/NotAFile');
        $this->standaloneView->setPartialRootPath('vfs://MyPartials');
        $this->standaloneView->getTemplatePaths()->getPartialSource('NotAFile');
    }