code: def test_unusable_without_enter(self):
      cm = mlmd_cm.MLMDConnectionManager.fake()
      with self.assertRaisesRegex(RuntimeError, "not entered yet"):
          cm.primary_mlmd_handle
  
file_path: tfx/tfx/orchestration/mlmd_connection_manager_test.py
imports: from unittest import mock
  import tensorflow
  from tfx.orchestration import mlmd_connection_manager
  import ml_metadata
label_desc: Use image node_id 3 for calling the MlmdConnectionManagerTest obj's underlying member method code with example usage: obj.test_unusable_without_enter() without return types