code: def test_should_get_intents_when_empty_dataset(self):
      # Given
      dataset = get_empty_dataset(LANGUAGE_EN)
      classifier = LogRegIntentClassifier().fit(dataset)
      text = "this is a dummy query"
  
      # When
      results = classifier.get_intents(text)
  
      # Then
      expected_results = [{RES_INTENT_NAME: None, RES_PROBA: 1.0}]
      self.assertEqual(expected_results, results)
  
imports: from __future__ import unicode_literals
  import io
  import sys
  from builtins import str
  from unittest import skipIf
  from checksumdir import dirhash
  from mock import patch
  from snips_nlu.common.io_utils import temp_dir
  from snips_nlu.constants import INTENTS, LANGUAGE_EN, RES_INTENT_NAME, RES_PROBA, UTTERANCES
  from snips_nlu.dataset import Dataset
  from snips_nlu.exceptions import NotTrained
  from snips_nlu.intent_classifier import LogRegIntentClassifier
  from snips_nlu.intent_classifier.featurizer import Featurizer
  from snips_nlu.intent_classifier.log_reg_classifier_utils import text_to_utterance
  from snips_nlu.pipeline.configs import LogRegIntentClassifierConfig
  from snips_nlu.result import intent_classification_result
  from snips_nlu.tests.utils import FixtureTest, get_empty_dataset
label_desc: Use image node_id 7 for calling the TestLogRegIntentClassifier obj's underlying member method code with example usage: obj.test_should_get_intents_when_empty_dataset() without return types