def METHOD_NAME(self):
    e = InputParameterError('exception details')
    e.setFunction('test_func', [1, 'a'], {})
    self.assertEqual(
        str(e),
        'Invalid parameters (exception details); func: "test_func(1, \'a\')"',
    )