'Test that UIDL with a non-integer or an out-of-bounds integer produces
the appropriate error response.'

def testUIDLWithBadArgument(self):

    p = self.pop3Server
    s = self.pop3Transport
    p.lineReceived('UIDL    a')
    self.assertEqual(s.getvalue(), '-ERR    Bad    message    number    argument\r\n')
    s.truncate(0)
    p.lineReceived('UIDL    0')
    self.assertEqual(s.getvalue(), '-ERR    Bad    message    number    argument\r\n')
    s.truncate(0)
    p.lineReceived('UIDL    2')
    self.assertEqual(s.getvalue(), '-ERR    Bad    message    number    argument\r\n')
    s.truncate(0)
