'L{getDeprecationWarningString} returns a string that tells us that a
callable was deprecated at a certain released version of Twisted.'

def test_getDeprecationWarningString(self):

    version = Version('Twisted', 8, 0, 0)
    self.assertEqual(getDeprecationWarningString(self.test_getDeprecationWarningString, version), ('%s.DeprecationWarningsTests.test_getDeprecationWarningString    was    deprecated    in    Twisted    8.0.0' % (__name__,)))
