public function getPartialPathAndFilenameThrowsExceptionIfSpecifiedPartialRootPathIsNoDirectory()
{
vfsStreamWrapper::register();
mkdir('vfs://MyPartials');
\file_put_contents('vfs://MyPartials/NotAFolder', 'foo');
$this->standaloneView->setPartialRootPath('vfs://MyPartials/NotAFolder');
$this->standaloneView->getTemplatePaths()->getPartialSource('SomePartial');
}