/** * Test pipeline execution. */ public function testStartPipeline() { $pipelineName = 'some-target'; $this->pipeline->expects($this->once())->method('start'); $this->pipelineFactory->expects($this->once())->method('create')->with('data_sync.' . $pipelineName)->will($this->returnValue($this->pipeline)); $this->service->startPipeline('data_sync.', $pipelineName); }