'If the server responds with a non-integer where a message sequence
number is expected, the L{Deferred} returned by L{IMAP4Client.search}
fails with L{IllegalServerResponse}.'

def test_nonIntegerFound(self):

    d = self._search()
    self._response([2, 'foo', 10])
    self.assertRaises(imap4.IllegalServerResponse, self._extractDeferredResult, d)
