Fixed error in Mock code example

Was not able to submit this via review.couchbase.com ...