Exemplo n.º 1
0
 function testSetErrorsReference()
 {
     $error_list = new WactFormErrorList();
     $form = new WactFormComponent('my_id');
     $form->setErrors($error_list);
     $this->assertReference($error_list, $form->getErrorsDataSet());
 }