def METHOD_NAME(self):
    calls = []
    def callback(arg1, arg2):
        calls.append((arg1, arg2))
        return False
    self.assertRaisesRegex(Exception, "callback: timeout - 2 seconds - expired", wait_for,
                           callback, timeout=2, throw_exc=True, step=0.5, arg1=1, arg2=3)
    self.assertEqual(len(calls), 5)