示例#1
0
 public function testSetNoValidation()
 {
     $this->form->setNoValidation(false);
     // via getter - returns empty string
     $this->assertEqual('', $this->form->getNoValidation());
     $this->form->setNoValidation(true);
     // via getter - returns string
     $this->assertEqual('novalidate', $this->form->getNoValidation());
 }