/** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * * @access protected */ protected function setUp() { $this->view = new Zend_View(); $this->helper = new Zend_View_Helper_HtmlObject(); $this->helper->setView($this->view); }
/** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * * @access protected */ protected function setUp() { $this->view = new \Zend\View\View(); $this->helper = new Helper\HtmlObject(); $this->helper->setView($this->view); }