/**
  * {@inheritdoc}
  */
 public function setUp()
 {
     $this->dispatcher = $this->createMock(EventDispatcherInterface::class);
     $this->manager = $this->createMock(ScheduleManagerInterface::class);
     $this->processor = $this->createMock(ProcessorInterface::class);
     $this->registry = new ProcessorRegistry();
     $this->registry->register('type', $this->processor);
     $this->subject = new Scheduler($this->registry, $this->dispatcher);
 }