def METHOD_NAME(self):
    cache = LRUCache(2)
    cache["foo"] = 42
    cache["bar"] = 23
    cache["foo"]
    for protocol in range(3):
        copy = pickle.loads(pickle.dumps(cache, protocol))
        assert copy.capacity == cache.capacity
        assert copy._mapping == cache._mapping
        assert copy._queue == cache._queue