def METHOD_NAME(self, **kwargs):
    endpoint = kwargs.get("text_translation_endpoint")
    client = self.create_getlanguage_client(endpoint)
    response = client.get_languages(scope="translation")
    assert len(response.translation) > 0
    translations = response.translation["af"]
    assert translations.dir is not None
    assert translations.name is not None
    assert translations.native_name is not None