Example #1
0
 /**
  * Test case
  */
 public function testViewFetch()
 {
     $view = new Enlight_View_Default($this->engine);
     $view->loadTemplate('string: ');
     $view->assign('test', 'success');
     $this->assertEquals('success', $view->fetch('string:{$test}'));
 }