Neos\FluidAdaptor\Tests\Unit\View\TemplateViewTest::getPartialRootPathsReturnsUserSpecifiedPartialPath PHP Метод

getPartialRootPathsReturnsUserSpecifiedPartialPath() публичный Метод

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