'L{StringListMailbox.deleteMessage} marks a message for deletion causing
further requests for its length to return 0.'

def test_deleteMessage(self):

    mailbox = mail.maildir.StringListMailbox(['foo'])
    mailbox.deleteMessage(0)
    self.assertEqual(mailbox.listMessages(0), 0)
    self.assertEqual(mailbox.listMessages(), [0])
