def METHOD_NAME(self):
    thread_id = "19:bcaebfba0d314c2aa3e920d38fa3df08@thread.v2"
    raised = False
    def mock_send(*_, **__):
        return mock_response(status_code=200, json_payload={"value": [{"id": thread_id}]})
    chat_client = ChatClient("https://endpoint", TestChatClient.credential, transport=Mock(send=mock_send))
    chat_threads = None
    try:
        chat_threads = chat_client.list_chat_threads()
    except:
        raised = True
    self.assertFalse(raised, 'Expected is no excpetion raised')
    for chat_thread_item_page in chat_threads.by_page():
        l = list(chat_thread_item_page)
        assert len(l) == 1
        assert l[0].id == thread_id