/**
* @test
* @expectedException \Neos\FluidAdaptor\View\Exception\InvalidTemplateResourceException
*/
public function getLayoutPathAndFilenameThrowsExceptionIfLayoutFileIsADirectory()
{
vfsStreamWrapper::register();
mkdir('vfs://MyLayouts/NotAFile');
$this->standaloneView->setLayoutRootPath('vfs://MyLayouts');
$this->standaloneView->getTemplatePaths()->getLayoutSource('NotAFile');
}