code: def test_transform_collection_to_sentence(
      collection: Collection, possible_outputs: List[Text]
  ):
      actual = (
          rasa.shared.utils.common.transform_collection_to_sentence(
              collection
          )
      )
      assert actual in possible_outputs
  
imports: import asyncio
  from typing import Collection, List, Optional, Text
  from unittest.mock import Mock
  import pytest
  import rasa.shared.core.domain
  import rasa.shared.utils.common
  from rasa.shared.exceptions import RasaException
label_desc: Use image node_id 3 for calling a global function with example usage: test_transform_collection_to_sentence(collection, possible_outputs) without return types