Beispiel #1
0
 /**
  * @test
  */
 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);
 }