Ejemplo n.º 1
0
 public function testSetControllerPluginStackIndex2()
 {
     $this->_setupWithoutFrontController(false);
     $controller = Zend_Controller_Front::getInstance();
     $channel = Zend_Wildfire_Channel_HttpHeaders::getInstance();
     Zend_Wildfire_Channel_HttpHeaders::setControllerPluginStackIndex(99);
     $firephp = Zend_Wildfire_Plugin_FirePhp::getInstance();
     $firephp->send('Hello World');
     $plugins = $controller->getPlugins();
     $this->assertEquals($plugins[99], $channel);
 }