public function replaceHandlerIfQueueIsEnabled(&$handler)
 {
     $settings = Queue\Factory::getSettings();
     if ($settings->queueEnabled->getValue()) {
         $handler = new Handler();
         if ($settings->processDuringTrackingRequest->getValue()) {
             $handler->enableProcessingInTrackerMode();
         }
     }
 }
 private function processDummyRequests()
 {
     $this->setDummyRequests();
     $this->handler->process($this->tracker, $this->requestSet);
 }