chromium/components/autofill/core/browser/ui/payments/payments_window_user_consent_dialog_controller_impl_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/ui/payments/payments_window_user_consent_dialog_controller_impl.h"

#include <string>

#include "base/functional/callback_forward.h"
#include "base/test/mock_callback.h"
#include "components/strings/grit/components_strings.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"

namespace autofill::payments {

class PaymentsWindowUserConsentDialogControllerImplTest : public testing::Test {};

// Tests that the correct strings are returned for the dialog.
TEST_F(PaymentsWindowUserConsentDialogControllerImplTest,
       CorrectStringsAreReturned) {}

// Tests that the accept callback is triggered when the dialog is accepted.
TEST_F(PaymentsWindowUserConsentDialogControllerImplTest,
       AcceptCallbackTriggeredOnDialogAcceptance) {}

// Tests that the cancel callback is triggered when the dialog is cancelled.
TEST_F(PaymentsWindowUserConsentDialogControllerImplTest,
       CancelCallbackTriggeredOnDialogCancelling) {}

}  // namespace autofill::payments