public function testInitializationPushesFrontControllerToBootstrapWhenPresent() { require_once 'Zend/Application/Resource/Frontcontroller.php'; $resource = new Zend_Application_Resource_Frontcontroller(array()); $resource->setBootstrap($this->bootstrap); $resource->init(); $this->assertSame($resource->getFrontController(), $this->bootstrap->frontController); }