code: def test_get_string_variations_should_not_generate_number_variations(
      self,
  ):
      # Given
      builtin_entity_parser = MagicMock()
      mocked_parse = MagicMock(return_value=[])
      builtin_entity_parser.parse = mocked_parse
  
      # When/Then
      get_string_variations(
          "", "en", builtin_entity_parser, numbers=False
      )
      mocked_parse.assert_not_called()
      get_string_variations(
          "", "en", builtin_entity_parser, numbers=True
      )
      self.assertGreater(mocked_parse.call_count, 0)
  
file_path: snips-nlu/snips_nlu/tests/test_string_variations.py
imports: from __future__ import unicode_literals
  from mock import MagicMock
  from snips_nlu.constants import LANGUAGE_EN, LANGUAGE_FR, RES_MATCH_RANGE, SNIPS_NUMBER, START
  from snips_nlu.entity_parser import BuiltinEntityParser
  from snips_nlu.string_variations import alphabetic_value, and_variations, get_string_variations, numbers_variations, punctuation_variations
  from snips_nlu.tests.utils import SnipsTest
label_desc: Use image node_id 8 for calling the TestStringVariations obj's underlying member method code with example usage: obj.test_get_string_variations_should_not_generate_number_variations() without return types