def METHOD_NAME(self):
    BASE_API_URL = "https://systran_fake_server.invalid:5050"
    API_KEY = "a super key"
    content_response_json = {
        "formats": [
            {
                "mimetypes": {"input": "text/input", "output": "text/output"},
                "name": "sample",
            }
        ]
    }
    responses.add(
        responses.GET,
        "{}{}".format(BASE_API_URL, SUPPORTED_FORMAT_ENDPOINT),
        json=content_response_json,
        status=200,
    )
    translation_service = SystranTranslationService(api_url=BASE_API_URL, api_key=API_KEY)
    mimetype_pair = TranslationMimetypePair("text/input", "text/output")
    assert len(translation_service.supported_formats) == 1
    format = translation_service.supported_formats[0]
    assert format.name == "sample"
    assert format.mimetype_pair == mimetype_pair
    assert len(translation_service.supported_mimetype_pairs) == 1
    assert translation_service.supported_mimetype_pairs[0] == mimetype_pair