public function testGetHelperPath() { require_once 'Zend/View/Helper/DeclareVars.php'; $reflection = new ReflectionClass('Zend_View_Helper_DeclareVars'); $expected = $reflection->getFileName(); $view = new Zend_View(); $view->declareVars(); $helperPath = $view->getHelperPath('declareVars'); $this->assertContains($expected, $helperPath); }