Esempio n. 1
0
 public function testgetErrorState()
 {
     $this->form->setErrorState(true);
     $this->assertTrue($this->form->error);
     $this->assertTrue($this->form->getErrorState());
     $this->form->setErrorState(false);
     $this->assertFalse($this->form->error);
     $this->assertFalse($this->form->getErrorState());
 }