code: def test_should_not_load_resources_with_bad_requirements(self):
      # When / Then
      with self.assertRaises(ValueError) as cm:
          load_resources("en", {GAZETTEERS: ["unknown"]})
      self.assertTrue("Unknown gazetteer" in str(cm.exception))
  
      # When / Then
      with self.assertRaises(ValueError) as cm:
          load_resources("en", {WORD_CLUSTERS: ["unknown"]})
      self.assertTrue("Unknown word clusters" in str(cm.exception))
  
imports: from __future__ import unicode_literals
  from deprecation import fail_if_not_removed
  from snips_nlu import load_resources
  from snips_nlu.constants import DATA_PATH, STOP_WORDS, CUSTOM_ENTITY_PARSER_USAGE, STEMS, WORD_CLUSTERS, GAZETTEERS, NOISE
  from snips_nlu.entity_parser import CustomEntityParserUsage
  from snips_nlu.resources import MissingResource, _get_resource, load_resources, _persist_stop_words, _load_stop_words, _load_noise, _persist_noise, _load_word_clusters, _persist_word_clusters, _load_gazetteer, _persist_gazetteer, _load_stems, _persist_stems, get_stems
  from snips_nlu.tests.utils import FixtureTest
label_desc: Use image node_id 3 for calling the TestResources obj's underlying member method code with example usage: obj.test_should_not_load_resources_with_bad_requirements() without return types