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

def test_nonIntegerExpunged(self):

    d = self._expunge()
    self._response([3, 3, 'foo', 8])
    self.assertRaises(imap4.IllegalServerResponse, self._extractDeferredResult, d)
