chromium/components/autofill/core/browser/payments/payments_requests/migrate_cards_request_unittest.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/autofill/core/browser/payments/payments_requests/migrate_cards_request.h"

#include <memory>
#include <vector>

#include "base/feature_list.h"
#include "base/functional/callback_helpers.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/scoped_feature_list.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/data_model/credit_card.h"
#include "components/autofill/core/browser/payments/local_card_migration_manager.h"
#include "components/autofill/core/browser/payments/payments_network_interface.h"
#include "components/autofill/core/browser/payments/test/autofill_payments_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"

HasSubstr;

namespace autofill::payments {

namespace {

std::unique_ptr<MigrateCardsRequest> CreateMigrateCardsRequest(
    std::vector<MigratableCreditCard>* migratable_credit_cards,
    bool has_cardholder_name,
    bool set_nickname_for_first_card = false) {}

}  // namespace

TEST(MigrateCardsRequestTest, MigrationRequestIncludesUniqueId) {}

TEST(MigrateCardsRequestTest, MigrationRequestIncludesEncryptedPan) {}

TEST(MigrateCardsRequestTest,
     MigrationRequestIncludesCardholderNameWhenItExists) {}

TEST(MigrateCardsRequestTest,
     MigrationRequestExcludesCardholderNameWhenItDoesNotExist) {}

TEST(MigrateCardsRequestTest, MigrationRequestIncludesChromeUserContext) {}

TEST(MigrateCardsRequestTest, MigrationRequestIncludesCardNickname) {}

}  // namespace autofill::payments