'--order=alphabetical causes trial to run test classes within a given
module alphabetically.'

def test_alphabeticalModule(self):

    self.config.parseOptions(['--order', 'alphabetical', 'twisted.trial.test.ordertests'])
    loader = trial._getLoader(self.config)
    suite = loader.loadByNames(self.config['tests'])
    self.assertEqual(testNames(suite), ['twisted.trial.test.ordertests.BarTest.test_bar', 'twisted.trial.test.ordertests.BazTest.test_baz', 'twisted.trial.test.ordertests.FooTest.test_first', 'twisted.trial.test.ordertests.FooTest.test_fourth', 'twisted.trial.test.ordertests.FooTest.test_second', 'twisted.trial.test.ordertests.FooTest.test_third'])
