Beispiel #1
0
 /**
  * @covers System_View_Simple::getVars
  * @covers System_View_Simple::clearVars
  */
 public function testGetVarsClearVars()
 {
     $a = 'asda sasdf as,dr43iu765235y2456324 53rtb dfg\'"::';
     $this->object->assign(array('a' => $a));
     self::assertEquals(array('a' => $a), $this->object->getVars());
     $this->object->clearVars();
     self::assertEquals(array(), $this->object->getVars());
 }