Neos\FluidAdaptor\Tests\Unit\View\StandaloneViewTest::getPartialPathAndFilenameThrowsExceptionIfPartialFileIsADirectory PHP 메소드

getPartialPathAndFilenameThrowsExceptionIfPartialFileIsADirectory() 공개 메소드

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