/**
* @test
* @expectedException \Neos\FluidAdaptor\View\Exception\InvalidTemplateResourceException
*/
public function getPartialPathAndFilenameThrowsExceptionIfPartialFileIsADirectory()
{
vfsStreamWrapper::register();
mkdir('vfs://MyPartials/NotAFile');
$this->standaloneView->setPartialRootPath('vfs://MyPartials');
$this->standaloneView->getTemplatePaths()->getPartialSource('NotAFile');
}