def METHOD_NAME(
    mock_request,
    mock_fetch,
    webhook_plugin,
    tax_data_response,
    checkout,
    tax_app,
):
    # given
    checkout_info = fetch_checkout_info(checkout, [], get_plugins_manager())
    mock_request.return_value = tax_data_response
    plugin = webhook_plugin()
    webhook = Webhook.objects.create(
        name="Tax checkout webhook",
        app=tax_app,
        target_url="https://localhost:8888/tax-order",
        subscription_query=(
            "subscription{event{... on CalculateTaxes{taxBase{currency}}}}"
        ),
    )
    webhook.events.create(event_type=WebhookEventSyncType.CHECKOUT_CALCULATE_TAXES)
    # when
    tax_data = plugin.get_taxes_for_checkout(checkout_info, [], None)
    # then
    payload = EventPayload.objects.get()
    assert payload.payload == json.dumps({"taxBase": {"currency": "USD"}})
    delivery = EventDelivery.objects.get()
    assert delivery.status == EventDeliveryStatus.PENDING
    assert delivery.event_type == WebhookEventSyncType.CHECKOUT_CALCULATE_TAXES
    assert delivery.payload == payload
    assert delivery.webhook == webhook
    mock_request.assert_called_once_with(delivery)
    mock_fetch.assert_not_called()
    assert tax_data == parse_tax_data(tax_data_response)