Beispiel #1
0
 public function testresetErrorMessages()
 {
     $set1 = array('aaa', 'bbb', 'ccc');
     $this->form->addErrorMessages($set1);
     $this->form->resetErrorMessages();
     $messages = $this->form->getErrorMessages();
     $this->assertTrue(empty($messages));
 }