class_docstr: Unit tests for InMemoryCacheStorageWrapper
class_docstr_tok: ["Unit","tests","for","InMemoryCacheStorageWrapper"]
code: def setUp(self) -> None:
      self.tempdir = TempDirectory(create=True)
      self.patch_get_cache_folder_path = patch(
          "streamlit.runtime.caching.storage.local_disk_cache_storage.get_cache_folder_path",
          return_value=self.tempdir.path,
      )
      self.patch_get_cache_folder_path.start()
  
file_path: streamlit/lib/tests/streamlit/runtime/caching/storage/in_memory_cache_storage_wrapper_test.py
imports: import unittest
  from unittest.mock import patch
  from testfixtures import TempDirectory
  from streamlit.runtime.caching.storage import CacheStorageContext, CacheStorageKeyNotFoundError
  from streamlit.runtime.caching.storage.dummy_cache_storage import DummyCacheStorage
  from streamlit.runtime.caching.storage.in_memory_cache_storage_wrapper import InMemoryCacheStorageWrapper
  from streamlit.runtime.caching.storage.local_disk_cache_storage import LocalDiskCacheStorage
label_desc: Use image node_id 1 for calling the InMemoryCacheStorageWrapperTest obj's underlying member method code with example usage: obj.setUp() without return types