code: def test_default_configs_should_work(self):
      # Given
      dataset_stream = io.StringIO(
          """
  ---
  type: intent
  name: TurnLightOn
  utterances:
  - turn on the lights
  - please switch on the light
  - switch the light on
  - can you turn the light on ?
  - I need you to turn on the lights
  
  ---
  type: intent
  name: GetWeather
  utterances:
  - what is the weather today
  - What's the weather in tokyo today?
  - Can you tell me the weather please ?
  - what is the weather forecast for this weekend"""
      )
      dataset = Dataset.from_yaml_files("en", [dataset_stream]).json
      for language in get_all_languages():
          # When
          config = DEFAULT_CONFIGS.get(language)
          self.assertIsNotNone(
              config, "Missing default config for '%s'" % language
          )
          dataset[LANGUAGE] = language
          shared = self.get_shared_data(dataset)
          engine = SnipsNLUEngine(config, **shared).fit(dataset)
          result = engine.parse("Please give me the weather in Paris")
  
          # Then
          self.assertIsNotNone(result[RES_INTENT])
          intent_name = result[RES_INTENT][RES_INTENT_NAME]
          self.assertEqual("GetWeather", intent_name)
  
imports: from __future__ import unicode_literals
  import io
  from snips_nlu_parsers import get_all_languages
  from snips_nlu import SnipsNLUEngine
  from snips_nlu.constants import LANGUAGE, RES_INTENT, RES_INTENT_NAME
  from snips_nlu.dataset import Dataset
  from snips_nlu.default_configs import DEFAULT_CONFIGS
  from snips_nlu.intent_classifier import LogRegIntentClassifier
  from snips_nlu.pipeline.configs import CRFSlotFillerConfig, DeterministicIntentParserConfig, FeaturizerConfig, IntentClassifierDataAugmentationConfig, LogRegIntentClassifierConfig, NLUEngineConfig, ProbabilisticIntentParserConfig, SlotFillerDataAugmentationConfig
  from snips_nlu.pipeline.configs.intent_classifier import CooccurrenceVectorizerConfig, TfidfVectorizerConfig
  from snips_nlu.tests.utils import SnipsTest
label_desc: Use image node_id 11 for calling the TestConfig obj's underlying member method code with example usage: obj.test_default_configs_should_work() without return types