'If the server returns a non-integer EXISTS value in its response to a
I{SELECT} or I{EXAMINE} command, the L{Deferred} returned by
L{IMAP4Client.select} or L{IMAP4Client.examine} fails with
L{IllegalServerResponse}.'

def test_nonIntegerExists(self):

    d = self._examineOrSelect()
    self._response('*    foo    EXISTS')
    self.assertRaises(imap4.IllegalServerResponse, self._extractDeferredResult, d)
