code: def test_get_feature_names_out_multicomponent():
      # The output length should be equal to the number of components UMAP generates.
      umap10 = UMAP(n_components=10)
      result_umap10 = umap10.get_feature_names_out()
      expected_umap10_result = [
          f"umap_component_{i+1}" for i in range(10)
      ]
      assert len(result_umap10) == 10
      assert result_umap10 == expected_umap10_result
  
file_path: umap/umap/tests/test_umap_get_feature_names_out.py
imports: import numpy
  from sklearn.datasets import make_classification
  from sklearn.pipeline import Pipeline, FeatureUnion
  from ..umap_ import UMAP
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_feature_names_out_multicomponent() without return types