code: def test_export_import_api_correctly():
      folder_name = "api_classification"
      zip_name = Path(folder_name).with_suffix(".zip")
      path_to_zip = DEFAULT_PROJECTS_PATH.joinpath(zip_name)
      path_to_folder = DEFAULT_PROJECTS_PATH.joinpath(folder_name)
  
      PATHS_TO_DELETE_AFTER_TEST.append(zip_name)
      PATHS_TO_DELETE_AFTER_TEST.append(path_to_folder)
  
      train_data = test_data = get_classification_data()
  
      api = Fedot(
          problem="classification",
          timeout=-1,
          preset="fast_train",
          with_tuning=False,
          num_of_generations=1,
          pop_size=3,
          show_progress=False,
      )
  
      api.fit(train_data)
      api.predict(test_data)
  
      api.export_as_project(path_to_zip)
  
      new_api = Fedot(problem="classification")
      new_api.import_as_project(path_to_zip)
  
      assert len(new_api.get_metrics()) > 0
      assert new_api.history is not None
      assert new_api.current_pipeline is not None
      assert new_api.train_data is not None
      assert new_api.test_data is not None
  
file_path: FEDOT/test/integration/utilities/test_project_import_export.py
imports: import os
  import shutil
  import zipfile
  from pathlib import Path
  import pytest
  from fedot import Fedot
  from fedot.core.utils import fedot_project_root
  from fedot.utilities.project_import_export import DEFAULT_PROJECTS_PATH, export_project_to_zip, import_project_from_zip
  from test.integration.models.test_atomized_model import create_pipeline
  from test.unit.validation.test_table_cv import get_classification_data
label_desc: Use image node_id 5 for calling a global function with example usage: test_export_import_api_correctly() without return types