/** * {@inheritDoc} */ public function isValid() { return $this->useDefaultValidation ? \Zend\Form\Form::isValid() : parent::isValid(); }
/** * @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); }