Neos\FluidAdaptor\Tests\Unit\View\TemplateViewTest::getLayoutRootPathsReturnsUserSpecifiedPartialPaths PHP Method

getLayoutRootPathsReturnsUserSpecifiedPartialPaths() public method

    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.');
    }