/** * @group ZF-6591 */ public function testRequestingPluginsByShortNameShouldNotRaiseFatalErrors() { $this->autoloader->setFallbackAutoloader(true)->suppressNotFoundWarnings(false); $this->application->setOptions(array('resources' => array('FrontController' => array()))); set_error_handler(array($this, 'handleError')); $bootstrap = new Zend_Application_Bootstrap_Bootstrap($this->application); $resource = $bootstrap->getPluginResource('FrontController'); restore_error_handler(); $this->assertTrue(false === $this->error, $this->error); }