'Load a decorated method which has been copied to a new name inside the
class.  Thus its __name__ and its key in the class\'s __dict__ no
longer match.'

def test_loadRenamedDecorator(self):

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