protected function createProcessor($skipEmpty = false)
 {
     $processor = new TransformerProcessor($this->validator, $this->translator, $this->transformer, 'class', $skipEmpty);
     $stepExecution = $this->getMockBuilder('Akeneo\\Bundle\\BatchBundle\\Entity\\StepExecution')->disableOriginalConstructor()->getMock();
     $processor->setStepExecution($stepExecution);
     return $processor;
 }