#include "components/payments/content/secure_payment_confirmation_app.h"
#include <memory>
#include <utility>
#include "base/base64.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/gmock_callback_support.h"
#include "base/test/scoped_feature_list.h"
#include "components/payments/content/payment_request_spec.h"
#include "components/payments/core/method_strings.h"
#include "components/webauthn/core/browser/mock_internal_authenticator.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_features.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/test_browser_context.h"
#include "content/public/test/test_utils.h"
#include "content/public/test/test_web_contents_factory.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/payments/payment_request.mojom.h"
#include "third_party/blink/public/mojom/webauthn/authenticator.mojom.h"
#include "url/origin.h"
namespace payments {
namespace {
RunOnceCallback;
_;
Eq;
Property;
static constexpr char kChallengeBase64[] = …;
static constexpr char kCredentialIdBase64[] = …;
class SecurePaymentConfirmationAppTest : public testing::Test,
public PaymentApp::Delegate { … };
TEST_F(SecurePaymentConfirmationAppTest, Smoke) { … }
TEST_F(SecurePaymentConfirmationAppTest, OnInstrumentDetailsError) { … }
}
}