code: def test_parse_training_example():
      message = entities_parser.parse_training_example(
          "Hello!", intent="greet"
      )
      assert message.get("intent") == "greet"
      assert message.get(TEXT) == "Hello!"
  
file_path: rasa/tests/shared/nlu/training_data/test_entities_parser.py
imports: from typing import Text, List, Dict, Any
  import pytest
  import rasa.shared.nlu.training_data.entities_parser
  from rasa.shared.exceptions import InvalidEntityFormatException, SchemaValidationError
  from rasa.shared.nlu.constants import TEXT
label_desc: Use image node_id 2 for calling a global function with example usage: test_parse_training_example() without return types