'Test downloading a message.'

def testRETR(self):

    p = self.pop3Server
    s = self.pop3Transport
    p.lineReceived('RETR    1')
    self._flush()
    self.assertEqual(s.getvalue(), '+OK    44\r\nFrom:    moshe\r\nTo:    moshe\r\n\r\nHow    are    you,    friend?\r\n.\r\n')
    s.truncate(0)
