/** * @test */ public function getLayoutRootPathsReturnsDefaultPathIfNoLayoutRootPathIsSpecified() { $templatePathAndFilename = 'some/template/RootPath/SomeTemplate.html'; $this->view->setTemplatePathAndFilename($templatePathAndFilename); $expectedResult = array('some/template/RootPath/Layouts'); $actualResult = $this->view->getLayoutRootPaths(); $this->assertEquals($expectedResult, $actualResult); }