view = new Zend_View(); $this->helper = new Zend_View_Helper_HtmlFlash(); $this->helper->setView($this->view); } public function tearDown() { unset($this->helper); } public function testMakeHtmlFlash() { $htmlFlash = $this->helper->htmlFlash('/path/to/flash.swf'); $objectStartElement = ''; $this->assertContains($objectStartElement, $htmlFlash); $this->assertContains('', $htmlFlash); } } // Call Zend_View_Helper_HtmlFlashTest::main() if this source file is executed directly. if (PHPUnit_MAIN_METHOD == "Zend_View_Helper_HtmlFlashTest::main") { Zend_View_Helper_HtmlFlashTest::main(); }