예제 #1
0
파일: SimpleTest.php 프로젝트: kandy/system
 /**
  * @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());
 }