code: def test_unintentional_synonyms_capitalized(
      default_model_storage: ModelStorage,
      default_execution_context: ExecutionContext,
  ):
      resource = Resource("xy")
      mapper = EntitySynonymMapper.create(
          {}, default_model_storage, resource, default_execution_context
      )
  
      examples = [
          Message(
              data={
                  TEXT: "Any Mexican restaurant will do",
                  "intent": "restaurant_search",
                  "entities": [
                      {
                          "start": 4,
                          "end": 11,
                          "value": "Mexican",
                          "entity": "cuisine",
                      }
                  ],
              }
          ),
          Message(
              data={
                  TEXT: "I want Tacos!",
                  "intent": "restaurant_search",
                  "entities": [
                      {
                          "start": 7,
                          "end": 12,
                          "value": "Mexican",
                          "entity": "cuisine",
                      }
                  ],
              }
          ),
      ]
  
      mapper.train(TrainingData(training_examples=examples))
  
      assert mapper.synonyms.get("mexican") == "Mexican"
      assert mapper.synonyms.get("tacos") == "Mexican"
  
file_path: rasa/tests/nlu/extractors/test_entity_synonyms.py
imports: from rasa.nlu.extractors.entity_synonyms import EntitySynonymMapper
  from rasa.shared.nlu.constants import TEXT, ENTITIES
  from rasa.shared.nlu.training_data.training_data import TrainingData
  from rasa.shared.nlu.training_data.message import Message
  from rasa.engine.storage.storage import ModelStorage
  from rasa.engine.graph import ExecutionContext
  from rasa.engine.storage.resource import Resource
label_desc: Use image node_id 2 for calling a global function with example usage: test_unintentional_synonyms_capitalized(default_model_storage, default_execution_context) without return types