async def METHOD_NAME(call, gate, check_restore, gen_domain_name):
    # make a request to cache the result
    name = gen_domain_name()
    response = await call(resolve=name, check_query=CheckQuery.FROM_MOCK)
    assert response.status == 200
    assert response.text == SUCCESS_RESOLVE
    gate.to_client_noop()
    response = await call(resolve=name, check_query=CheckQuery.FROM_CACHE)
    assert response.status == 200
    assert response.text == SUCCESS_RESOLVE