view = $this->getView(); $this->helper = new Zend_Dojo_View_Helper_Form(); $this->helper->setView($this->view); } /** * Tears down the fixture, for example, close a network connection. * This method is called after a test is executed. * * @return void */ public function tearDown() { } public function getView() { require_once 'Zend/View.php'; $view = new Zend_View(); $view->addHelperPath('Zend/Dojo/View/Helper/', 'Zend_Dojo_View_Helper'); return $view; } public function getForm() { return $this->helper->form('myForm', array('action' => '/foo'), ''); } public function testShouldAllowDeclarativeDijitCreation() { $html = $this->getForm(); $this->assertRegexp('/