public function testShouldContainHtmlFromCustomLayoutAndPage() { $view = new View($this->viewPath); $view->loadLayout('custom'); $view->setVar('msg', ''); $view->loadPage('custom'); $test = $view->render(); $this->assertContains('CUSTOM LAYOUT', $test); $this->assertContains('Custom:', $test); }