def test_listAllMessages(self):
        mailbox = mail.maildir.StringListMailbox(["a", "abc", "ab"])
        self.assertEqual(mailbox.listMessages(), [1, 3, 2])
L{StringListMailbox.listMessages} returns a list of the lengths of all
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/mail/test/test_mail.py/StringListMailboxTests.test_listAllMessages