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) { } }
public function testOverloadingThrowsExceptionWithInvalidMethodType() { $this->setExpectedException('Zend\\View\\Exception'); $this->helper->setFoo('foo'); }