def testGetWhenCacheHit(self):
    sid = self.sid
    data = 'data we want to be cached'
    self._MockMemcache(
        'get', self._Key(sid)).AndReturn(data)

    self.mox.ReplayAll()
    self.assertEqual(self.ams._Get(sid), data)
    self.mox.VerifyAll()
Test _Get().
dataset/ETHPy150Open google/simian/src/tests/simian/auth/gaeserver_test.py/Auth1ServerDatastoreMemcacheSessionTest.testGetWhenCacheHit