def test_invalidGetResponse(self):
        """
        If the value returned doesn't match the expected key of the current
        C{get} command, an error is raised in L{MemCacheProtocol.dataReceived}.
        """
        self.proto.get(b"foo")
        self.assertRaises(
            RuntimeError, self.proto.dataReceived,
            b"VALUE bar 0 7\r\nspamegg\r\nEND\r\n")

        If the value returned doesn't match the expected key of the current
        C{get} command, an error is raised in L{MemCacheProtocol.dataReceived}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_memcache.py