'Test downloading the headers and part of the body of a message.'

def testTOP(self):

    p = self.pop3Server
    s = self.pop3Transport
    p.mbox.messages.append(self.extraMessage)
    p.lineReceived('TOP    1    0')
    self._flush()
    self.assertEqual(s.getvalue(), '+OK    Top    of    message    follows\r\nFrom:    moshe\r\nTo:    moshe\r\n\r\n.\r\n')
