private function getProcess()
 {
     $process = new QueueProcess();
     $path = $this->container->getParameter('sb_event_queue.storage_path');
     $process->setPath($path);
     $process->setQueueName('unit-test');
     return $process;
 }
 /**
  * {@inheritdoc}
  */
 protected function initialize(InputInterface $input, OutputInterface $output)
 {
     parent::initialize($input, $output);
     $path = $this->getContainer()->getParameter('sb_event_queue.storage_path');
     $this->process = new QueueProcess();
     $this->process->setPath($path);
     if ($input->hasOption('name')) {
         $this->process->setQueueName($input->getOption('name'));
     }
 }