'L{MemCacheProtocol.replace} returns a L{Deferred} which is called back
with C{True} when the operation succeeds.'

def test_replace(self):

    return self._test(self.proto.replace('foo', 'bar'), 'replace    foo    0    0    3\r\nbar\r\n', 'STORED\r\n', True)
