code: def test_loading_from_storage_fail(
      training_data: TrainingData,
      default_model_storage: ModelStorage,
      default_execution_context: ExecutionContext,
      caplog: LogCaptureFixture,
  ):
      with caplog.at_level(logging.DEBUG):
          loaded = SklearnIntentClassifier.load(
              SklearnIntentClassifier.get_default_config(),
              default_model_storage,
              Resource("test"),
              default_execution_context,
          )
          assert isinstance(loaded, SklearnIntentClassifier)
  
      assert any(
          "Resource 'test' doesn't exist." in message
          for message in caplog.messages
      )
  
imports: import copy
  import logging
  from typing import Callable, List, Text, Tuple
  import pytest
  from _pytest.logging import LogCaptureFixture
  from rasa.nlu.featurizers.dense_featurizer.spacy_featurizer import SpacyFeaturizer
  from rasa.nlu.tokenizers.spacy_tokenizer import SpacyTokenizer
  from rasa.nlu.utils.spacy_utils import SpacyModel, SpacyNLP
  import rasa.shared.nlu.training_data.loading
  from rasa.engine.graph import ExecutionContext, GraphComponent
  from rasa.engine.storage.resource import Resource
  from rasa.engine.storage.storage import ModelStorage
  from rasa.nlu.classifiers.sklearn_intent_classifier import SklearnIntentClassifier
  from rasa.shared.nlu.training_data.training_data import TrainingData
  from rasa.shared.nlu.constants import TEXT, INTENT
  from rasa.shared.nlu.training_data.message import Message
label_desc: Use image node_id 4 for calling a global function with example usage: test_loading_from_storage_fail(training_data, default_model_storage, default_execution_context, caplog) without return types