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();
}