async def METHOD_NAME(elements: List[JsonElement]) -> None:
    async with stream.iterate(elements).stream() as streamer:
        result = ""
        async for elem in respond_text(streamer):
            result += elem + "\n"
        # every element is rendered as one or more line (string with \n is rendered as multiple lines)
        assert len(elements) + 1 <= len(result.split("\n"))