public function getLayoutPathAndFilenameThrowsExceptionIfNoPathCanBeResolved()
{
vfsStreamWrapper::register();
$paths = ['vfs://NonExistentDir/UnknownFile.html', 'vfs://NonExistentDir/AnotherUnknownFile.html'];
/** @var TemplatePaths $templatePaths */
$templatePaths = $this->getAccessibleMock(TemplatePaths::class, ['expandGenericPathPattern'], [['layoutPathAndFilenamePattern' => '@layoutRoot/@layout.@format']], '', true);
$templatePaths->expects($this->once())->method('expandGenericPathPattern')->with('@layoutRoot/@layout.@format', ['layout' => 'Default', 'format' => 'html'], true, true)->will($this->returnValue($paths));
$templatePaths->getLayoutSource();
}