code: def set_up_tests():
      adapter = PipelineAdapter()
      pipelines = [
          pipeline_first(),
          pipeline_second(),
          pipeline_third(),
          pipeline_fourth(),
      ]
      population = [
          Individual(adapter.adapt(pipeline)) for pipeline in pipelines
      ]
      return adapter, population
  
file_path: FEDOT/test/integration/optimizer/test_evaluation.py
imports: import datetime
  import pytest
  from golem.core.optimisers.fitness import Fitness, null_fitness
  from golem.core.optimisers.genetic.evaluation import MultiprocessingDispatcher, SequentialDispatcher, ObjectiveEvaluationDispatcher
  from golem.core.optimisers.opt_history_objects.individual import Individual
  from golem.core.optimisers.timer import OptimisationTimer
  from fedot.core.optimisers.objective.metrics_objective import MetricsObjective
  from fedot.core.pipelines.adapters import PipelineAdapter
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.repository.metrics_repository import ClassificationMetricsEnum
  from test.unit.pipelines.test_node_cache import pipeline_first, pipeline_second, pipeline_third, pipeline_fourth
  from test.unit.validation.test_table_cv import get_classification_data
label_desc: Use image node_id 1 for calling a global function with example usage: set_up_tests() and returns: adapter,  population