public function testOverloadingThrowsExceptionWithInvalidMethod() { try { $this->helper->bogusMethod(); $this->fail('Invalid method should raise exception'); } catch (Zend_View_Exception $e) { } }
public function testOverloadingThrowsExceptionWithInvalidMethod() { $this->setExpectedException('Zend\View\Exception\ExceptionInterface'); $this->helper->bogusMethod(); }