/** * @group ZF-6543 */ public function testPassingFullViewClassNameNotMatchingARegisteredPrefixShouldRegisterAsTheClassName() { $this->application->setOptions(array('resources' => array('ZendTest\\Application\\TestAsset\\Resource\\View' => array()))); set_error_handler(array($this, 'handleError')); $bootstrap = new Application\Bootstrap($this->application); $this->assertTrue($bootstrap->hasPluginResource('ZendTest\\Application\\TestAsset\\Resource\\View')); restore_error_handler(); }