Exemplo n.º 1
0
 private function setUpPluginManager()
 {
     $this->pluginManager = PluginManagerMock::getInstance();
     Manager::setSingletonInstance($this->pluginManager);
 }
Exemplo n.º 2
0
 private function setUpPluginManager()
 {
     $this->pluginManager = PluginManagerMock::getInstance();
     Manager::setSingletonInstance($this->pluginManager);
     EventDispatcher::unsetInstance();
     // EventDispatcher stores a reference to Plugin Manager
 }