def METHOD_NAME(temp_salt_master):
    opts = temp_salt_master.config.copy()
    salt.cache.MemCache.data.clear()
    METHOD_NAME = masterapi.RemoteFuncs(opts)
    METHOD_NAME.cache = FakeCache()
    return METHOD_NAME