'callDeprecated raises a test failure if the callable was deprecated
at a different version to the one expected.'

def test_failsWithIncorrectDeprecation(self):

    differentVersion = Version('Foo', 1, 2, 3)
    exception = self.assertRaises(self.failureException, self.callDeprecated, differentVersion, oldMethod, 'foo')
    self.assertIn(getVersionString(self.version), str(exception))
    self.assertIn(getVersionString(differentVersion), str(exception))
