Example #1
0
 public function testGetHelperPath()
 {
     $reflection = new \ReflectionClass('Zend\\View\\Helper\\DeclareVars');
     $expected = $reflection->getFileName();
     $view = new View();
     $view->declareVars();
     $helperPath = $view->getHelperPath('declareVars');
     $this->assertContains($expected, $helperPath);
 }