code: def test_get_cached_result_when_result_no_longer_available(
      tmp_path: Path,
      local_cache_creator: Callable[..., LocalTrainingCache],
      default_model_storage: ModelStorage,
  ):
      cache = local_cache_creator(tmp_path)
  
      output = TestCacheableOutput({"something to cache": "dasdaasda"})
      output_fingerprint = uuid.uuid4().hex
  
      cache.cache_output(
          uuid.uuid4().hex,
          output,
          output_fingerprint,
          default_model_storage,
      )
  
      # Pretend something deleted the cache in between
      for path in tmp_path.glob("*"):
          if path.is_dir():
              shutil.rmtree(path)
  
      assert (
          cache.get_cached_result(
              output_fingerprint, "some_node", default_model_storage
          )
          is None
      )
  
imports: import dataclasses
  import logging
  import shutil
  import uuid
  from pathlib import Path
  from typing import Dict, Text, Optional, Any, Callable
  from unittest.mock import Mock
  import pytest
  from _pytest.logging import LogCaptureFixture
  from _pytest.monkeypatch import MonkeyPatch
  from sqlalchemy.exc import OperationalError
  import rasa.shared.utils.io
  import rasa.shared.utils.common
  from rasa.engine.caching import LocalTrainingCache, CACHE_LOCATION_ENV, DEFAULT_CACHE_NAME, CACHE_SIZE_ENV, CACHE_DB_NAME_ENV, TrainingCache
  import tests.conftest
  from rasa.engine.storage.local_model_storage import LocalModelStorage
  from rasa.engine.storage.resource import Resource
  from rasa.engine.storage.storage import ModelStorage
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_cached_result_when_result_no_longer_available(tmp_path, local_cache_creator, default_model_storage) without return types