protected function setUp() { parent::setUp(); $this->stepExecution = $this->getMockBuilder('Akeneo\\Bundle\\BatchBundle\\Entity\\StepExecution')->disableOriginalConstructor()->getMock(); $this->contextRegistry = $this->getMockBuilder('Oro\\Bundle\\ImportExportBundle\\Context\\ContextRegistry')->disableOriginalConstructor()->getMock(); $this->processor = new StepExecutionAwareImportProcessor(); $this->processor->setSerializer($this->serializer); $this->processor->setImportExportContext($this->context); }