Example #1
0
 /**
  * @group ZF-3217
  * @expectedException Zend_Form_Exception
  */
 public function testOverloadingToInvalidMethodsShouldThrowAnException()
 {
     $html = $this->form->bogusMethodCall();
 }
Example #2
0
 /**
  * @group ZF-3217
  */
 public function testOverloadingToInvalidMethodsShouldThrowAnException()
 {
     $this->setExpectedException('Zend\\Form\\Exception\\BadMethodCallException');
     $html = $this->form->bogusMethodCall();
 }