'Options which are synonyms to another option are aliases towards the
longest option name.'

def test_optionsAliasesOrder(self):

    class Opts(usage.Options, ):
        def opt_very_very_long(self):
            '\n                                                                This    is    an    option    method    with    a    very    long    name,    that    is    going    to\n                                                                be    aliased.\n                                                                '
        opt_short = opt_very_very_long
        opt_s = opt_very_very_long
    opts = Opts()
    self.assertEqual(dict.fromkeys(['s', 'short', 'very-very-long'], 'very-very-long'), {'s': opts.synonyms['s'], 'short': opts.synonyms['short'], 'very-very-long': opts.synonyms['very-very-long']})
