code: function(lock) {
      lock.acquire = function(key, fn) {
        Lock._acquiredLocks[lock._id] = lock;
        lock._locked = true;
        lock._key = key;
        return client.setAsync(key, lock._id).nodeify(fn);
      };
    }
docs: Used to mock a Lock's acquire method