public function testMagicMethodsForPluginResources()
 {
     $bootstrap = new TestAsset\ZfAppBootstrap($this->application);
     $broker = $bootstrap->getBroker();
     require_once __DIR__ . '/TestAsset/resources/Baz.php';
     $broker->getClassLoader()->registerPlugin('baz', 'ZendTest\\Application\\TestAsset\\Resource\\Baz');
     $broker->registerSpec('baz');
     $bootstrap->bootstrap('baz');
     $this->assertTrue(isset($bootstrap->baz));
     $resource = $bootstrap->baz;
     $this->assertEquals('Baz', $resource->baz);
 }