/** * */ public function testSetGetLayout() { $view = new View($this->viewPath); // $this->assertEquals(NULL, $view->getLayout()); // $view->setLayout($this->layoutPath); // $this->assertEquals($view->getLayout()->getPath(), $this->layoutPath); }
/** * */ public function testSetGetLayout() { $view = new View($this->viewPath); // $this->assertEquals(NULL, $view->getLayout()); // $view->setLayout($this->layoutPath); // $this->assertEquals($view->getLayout()->getPath(), $this->layoutPath); }