def METHOD_NAME(
    payment_id, authorize_net_plugin, dummy_payment_data
):
    dummy_payment_data.payment_id = payment_id
    with pytest.raises(PaymentError):
        authorize_net_plugin.refund_payment(dummy_payment_data, None)