private Pipeline simulateSuccessfulPipelineRun(PipelineConfig pipelineConfig) {
   final Pipeline previousSuccessfulBuildWithOlderPackageConfig =
       PipelineMother.completed(pipelineConfig);
   dbHelper.savePipelineWithMaterials(previousSuccessfulBuildWithOlderPackageConfig);
   return previousSuccessfulBuildWithOlderPackageConfig;
 }