Ejemplo n.º 1
0
 public function testGetSetTitle()
 {
     $view = new View();
     $this->assertEquals('Tlumx framework!!!', $view->getTitle());
     $view->setTitle('Test');
     $this->assertEquals('Test', $view->getTitle());
     $this->assertEquals('<title>Test</title>', $view->createTitle());
 }