예제 #1
0
 /**
  * Can we add a variable?
  *
  * @access public
  */
 public function testAddVariableToView()
 {
     $view = new Core\View();
     $view->addVariable('foo', 'bar');
     $this->assertEquals('bar', $view->getVariable('foo'));
 }