public function testAddsGlobalPlugins()
 {
     $b = new ServiceBuilder($this->arrayData);
     $b->addGlobalPlugin(new HistoryPlugin());
     $s = $b->get('michael.mock');
     $this->assertTrue($s->getEventDispatcher()->hasListeners('request.sent'));
 }