public function tearDown() { foreach ($this->eventSubscriberPlugins as list($plugin, $eventSubscriber)) { $this->removeListeners($plugin, $eventSubscriber); } }