docstr: We can add multiple files that share the same coordinate.
docstr_tok: ["We","can","add","multiple","files","that","share","the","same","coordinate","."]
code: def test_add_files_same_coord(self):
      """We can add multiple files that share the same coordinate."""
      coord = random_coordinates()
  
      for sample in ALL_FIXTURES.values():
          self.media_file_manager.add(
              sample["content"], sample["mimetype"], coord
          )
  
      # There should be 6 files in MFM.
      self.assertEqual(
          len(self.media_file_manager._file_metadata), len(ALL_FIXTURES)
      )
  
      # There should only be 1 session with registered files.
      self.assertEqual(
          len(self.media_file_manager._files_by_session_and_coord), 1
      )
  
      # There should only be 1 coord in that session.
      self.assertEqual(
          len(
              self.media_file_manager._files_by_session_and_coord[
                  "mock_session_id"
              ]
          ),
          1,
      )
  
      self.media_file_manager.clear_session_refs()
      self.media_file_manager.remove_orphaned_files()
  
      # There should be only 0 file in MFM.
      self.assertEqual(len(self.media_file_manager._file_metadata), 0)
  
      # There should only be 0 session with registered files.
      self.assertEqual(
          len(self.media_file_manager._files_by_session_and_coord), 0
      )
  
imports: import random
  import unittest
  from typing import Optional
  from unittest import TestCase, mock
  from unittest.mock import MagicMock, call, mock_open
  from streamlit.runtime.media_file_manager import MediaFileManager
  from streamlit.runtime.media_file_storage import MediaFileKind
  from streamlit.runtime.memory_media_file_storage import MemoryFile, MemoryMediaFileStorage, _calculate_file_id
  from tests.exception_capturing_thread import call_on_threads
label_desc: Use image node_id 7 for calling the MediaFileManagerTest obj's underlying member method code with example usage: obj.test_add_files_same_coord() without return types