Neos\FluidAdaptor\Tests\Unit\View\TemplateViewTest::getLayoutRootPathsReturnsUserSpecifiedPartialPaths PHP 메소드

getLayoutRootPathsReturnsUserSpecifiedPartialPaths() 공개 메소드

    public function getLayoutRootPathsReturnsUserSpecifiedPartialPaths()
    {
        $templateView = new TemplateView();
        $layoutRootPaths = array('/foo/bar/', 'baz/');
        $templateView->setOption('layoutRootPaths', $layoutRootPaths);
        $actual = $templateView->getTemplatePaths()->getLayoutRootPaths();
        $this->assertEquals($layoutRootPaths, $actual, 'A set layout root path was not returned correctly.');
    }