def METHOD_NAME(**kwargs):
    assert kwargs['amount'] == 1337
    assert kwargs['currency'] == 'eur'
    assert kwargs['payment_method'] == 'pm_189fTT2eZvKYlo2CvJKzEzeu'
    c = MockedPaymentintent()
    c.status = 'succeeded'
    c.charges.data[0].paid = True
    setattr(METHOD_NAME, 'called', True)
    return c