async def METHOD_NAME(self, bot, chat_id):
    good_caption = "a" * constants.MessageLimit.CAPTION_LENGTH
    bad_caption = good_caption + "Z"
    tasks = asyncio.gather(
        bot.send_photo(chat_id, data_file("telegram.png").read_bytes(), good_caption),
        bot.send_photo(chat_id, data_file("telegram.png").read_bytes(), bad_caption),
        return_exceptions=True,
    )
    good_msg, bad_msg = await tasks
    assert good_msg.caption == good_caption
    assert isinstance(bad_msg, BadRequest)
    assert "Message caption is too long" in str(bad_msg)