'A decorated test method for which the decorator has set the method\'s
__name__ correctly is loaded and the only name by which it goes is used.'

def test_loadGoodDecorator(self):

    from twisted.trial.test import sample
    suite = self.loader.loadAnything(sample.DecorationTest.test_goodDecorator, parent=sample.DecorationTest, qualName=['sample', 'DecorationTest', 'test_goodDecorator'])
    self.assertEqual(1, suite.countTestCases())
    self.assertEqual('test_goodDecorator', suite._testMethodName)
