code: def test_setters_chain_returns_the_builder(fedot_builder_methods):
      builder = FedotBuilder("classification")
      for method_name in fedot_builder_methods.keys():
          if method_name in ["build"]:  # add method names if needed.
              continue
          method = getattr(builder, method_name)
          builder = method()
  
      assert isinstance(builder, FedotBuilder)
  
file_path: FEDOT/test/unit/api/test_api_builder.py
imports: from inspect import signature
  from itertools import chain
  import pytest
  from fedot import Fedot, FedotBuilder
  from fedot.api.api_utils.api_params_repository import ApiParamsRepository
  from fedot.api.api_utils.params import ApiParams
  from fedot.core.repository.tasks import TaskTypesEnum
label_desc: Use image node_id 2 for calling a global function with example usage: test_setters_chain_returns_the_builder(fedot_builder_methods) without return types