def METHOD_NAME() -> IHTTPAgentBinaryServerRegistrar:
    http_agent_binary_server_registrar = MagicMock()
    download_completed = Event()
    download_completed.set()
    agent_binary_request = AgentBinaryDownloadTicket(
        id=ReservationID("8f53f4fb-2d33-465a-aa9c-de704a7e42b3"),
        download_url=DOWNLOAD_URL,
        download_completed=download_completed,
    )
    http_agent_binary_server_registrar.reserve_download.return_value = agent_binary_request
    return http_agent_binary_server_registrar