def METHOD_NAME(self):
    thread_id = "19:bcaebfba0d314c2aa3e920d38fa3df08@thread.v2"
    chat_thread_client = None
    raised = False
    def mock_send(*_, **__):
        return mock_response(status_code=201, json_payload={
            "chatThread": {
                "id": thread_id,
                "topic": "test topic",
                "createdOn": "2020-12-03T21:09:17Z",
                "createdBy": "8:acs:57b9bac9-df6c-4d39-a73b-26e944adf6ea_9b0110-08007f1041"
            }
        })
    chat_client = ChatClient("https://endpoint", TestChatClient.credential, transport=Mock(send=mock_send))
    topic="test topic"
    user = CommunicationUserIdentifier("8:acs:57b9bac9-df6c-4d39-a73b-26e944adf6ea_9b0110-08007f1041")
    participants=[ChatParticipant(
        identifier=user,
        display_name='name',
        share_history_time=datetime.utcnow()
    )]
    try:
        create_chat_thread_result = chat_client.create_chat_thread(topic, thread_participants=participants)
    except:
        raised = True
        raise
    self.assertFalse(raised, 'Expected is no excpetion raised')
    assert create_chat_thread_result.chat_thread.id == thread_id