def METHOD_NAME(
    stocks_for_cc, checkout_with_items_for_cc, channel_USD
):
    expected_total_number_of_warehouses = 1
    reduced_stock_quantity = 0
    lines = checkout_with_items_for_cc.lines.all()
    stock = Stock.objects.filter(
        warehouse__click_and_collect_option=WarehouseClickAndCollectOption.LOCAL_STOCK
    ).last()
    stock.quantity = reduced_stock_quantity
    stock.save(update_fields=["quantity"])
    result = Warehouse.objects.applicable_for_click_and_collect(lines, channel_USD.id)
    assert result.count() == expected_total_number_of_warehouses
    assert (
        result.first().click_and_collect_option
        == WarehouseClickAndCollectOption.ALL_WAREHOUSES
    )