Пример #1
0
 public function testOverloadingThrowsExceptionWithInvalidMethodType()
 {
     try {
         $this->helper->setFoo('foo');
         $this->fail('Overloading should only work for (set|prepend|append)(Name|HttpEquiv)');
     } catch (Zend_View_Exception $e) {
     }
 }
Пример #2
0
 public function testOverloadingThrowsExceptionWithInvalidMethodType()
 {
     $this->setExpectedException('Zend\\View\\Exception');
     $this->helper->setFoo('foo');
 }