def METHOD_NAME(self, api_key, endpoint, index_name):
    client = SearchIndexClient(endpoint, api_key, retry_backoff_factor=60)
    index_name = "hotels"
    self._test_get_service_statistics(client)
    self._test_list_indexes_empty(client)
    self._test_create_index(client, index_name)
    self._test_list_indexes(client, index_name)
    self._test_get_index(client, index_name)
    self._test_get_index_statistics(client, index_name)
    self._test_delete_indexes_if_unchanged(client)
    self._test_create_or_update_index(client)
    self._test_create_or_update_indexes_if_unchanged(client)
    self._test_analyze_text(client, index_name)
    self._test_delete_indexes(client)