code: def test_should_build_training_data_with_no_data(self):
      # Given
      language = LANGUAGE_EN
      resources = self.get_resources(language)
  
      dataset = validate_and_format_dataset(get_empty_dataset(language))
      random_state = np.random.RandomState(1)
  
      # When
      data_augmentation_config = (
          LogRegIntentClassifierConfig().data_augmentation_config
      )
      utterances, _, intent_mapping = build_training_data(
          dataset,
          language,
          data_augmentation_config,
          resources,
          random_state,
      )
  
      # Then
      expected_utterances = []
      expected_intent_mapping = []
      self.assertListEqual(utterances, expected_utterances)
      self.assertListEqual(intent_mapping, expected_intent_mapping)
  
imports: from __future__ import unicode_literals
  import io
  from copy import deepcopy
  from itertools import cycle
  import numpy
  from future.utils import itervalues, iteritems
  from mock import MagicMock, patch
  from snips_nlu.constants import INTENTS, LANGUAGE_EN, UTTERANCES, LANGUAGE, NOISE
  from snips_nlu.dataset import validate_and_format_dataset, Dataset
  from snips_nlu.intent_classifier.log_reg_classifier_utils import add_unknown_word_to_utterances, build_training_data, generate_noise_utterances, generate_smart_noise, get_noise_it, remove_builtin_slots, text_to_utterance
  from snips_nlu.pipeline.configs import IntentClassifierDataAugmentationConfig, LogRegIntentClassifierConfig
  from snips_nlu.tests.test_log_reg_intent_classifier import get_mocked_augment_utterances
  from snips_nlu.tests.utils import SnipsTest, get_empty_dataset
label_desc: Use image node_id 6 for calling the TestLogRegClassifierUtils obj's underlying member method code with example usage: obj.test_should_build_training_data_with_no_data() without return types