/** * @test * @author Bastian Waidelich <*****@*****.**> */ public function getLayoutRootPathReturnsDefaultPathIfNoLayoutRootPathIsSpecified() { $templatePathAndFilename = 'some/template/RootPath/SomeTemplate.html'; $this->view->setTemplatePathAndFilename($templatePathAndFilename); $expectedResult = 'some/template/RootPath/Layouts'; $actualResult = $this->view->getLayoutRootPath(); $this->assertEquals($expectedResult, $actualResult); }