'If the message passed to L{callDeprecated} doesn\'t match,
L{callDeprecated} raises a test failure.'

def test_callDeprecationWithWrongMessage(self):

    exception = self.assertRaises(self.failureException, self.callDeprecated, (self.version, 'something.wrong'), oldMethodReplaced, 1)
    self.assertIn(getVersionString(self.version), str(exception))
    self.assertIn('please    use    newMethod    instead', str(exception))
