Esempio n. 1
0
 /**
  * {@inheritDoc}
  */
 public function isValid()
 {
     return $this->useDefaultValidation ? \Zend\Form\Form::isValid() : parent::isValid();
 }
Esempio n. 2
0
 /**
  * @expectedException InvalidArgumentException
  * @expectedExceptionMessage For the Form Core\Form\BaseForm there is no Basefieldset
  */
 public function testInitWithoutBaseForm()
 {
     $target = new BaseForm();
     $target->init();
     $this->assertEquals($target, null);
 }