'L{StringListMailbox.getMessage} returns a file-like object from which
the contents of the message at the given offset into the mailbox can be
read.'

def test_getMessage(self):

    mailbox = mail.maildir.StringListMailbox(['foo', 'real    contents'])
    self.assertEqual(mailbox.getMessage(1).read(), 'real    contents')
