'Each call to L{_MaildirNameGenerator.generate} returns a unique
string suitable for use as the basename of a new message file.  The
names are ordered such that those generated earlier sort less than
those generated later.'

def test_nameGenerator(self):

    clock = task.Clock()
    clock.advance(0.05)
    generator = mail.maildir._MaildirNameGenerator(clock)
    firstName = generator.generate()
    clock.advance(0.05)
    secondName = generator.generate()
    self.assertTrue((firstName < secondName))
