'If an END is received in response to an operation that isn\'t C{get},
C{gets}, or C{stats}, an error is raised in
L{MemCacheProtocol.dataReceived}.'

def test_invalidEndResponse(self):

    self.proto.set('key', 'value')
    self.assertRaises(RuntimeError, self.proto.dataReceived, 'END\r\n')
