def METHOD_NAME(specific_cache, maxNum=100):
    temp = Fib()
    temp.num = cachetools.cached(cache=specific_cache, key=strhash)(temp.num)
    temp.num(maxNum)
    if maxNum >= 3:
        assert temp.num(3) == 2
    if maxNum >= 100:
        assert temp.num(100) == 354224848179261915075