'In a L{MessageSet}, in the presence of wildcards, if the
highest message id is known, the wildcard should get replaced
by that high value.'

def test_stringRepresentationWithWildcards(self):

    inputs = [imap4.parseIdList('*'), imap4.parseIdList('1:*'), imap4.parseIdList('3:*', 6), imap4.parseIdList('*:2', 6)]
    outputs = ['*', '1:*', '3:6', '2:6']
    for (i, o) in zip(inputs, outputs):
        self.assertEqual(str(i), o)
