code: def test_feature_store_manager_same_instance(
      mock_feature_store_manager,
  ):
      mock_feature_store_manager.side_effect = [Mock(), Mock()]
  
      factory = FeatureStoreManagerFactory()
  
      assert (
          factory.feature_store_manager is factory.feature_store_manager
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/feature_store/feature_processor/test_spark_session_factory.py
imports: from __future__ import absolute_import
  import feature_store_pyspark
  import pytest
  from mock import Mock, patch, call
  from sagemaker.feature_store.feature_processor._spark_factory import FeatureStoreManagerFactory, SparkSessionFactory
label_desc: Use image node_id 7 for calling a global function with example usage: test_feature_store_manager_same_instance(mock_feature_store_manager) without return types