#include "components/autofill/core/browser/payments/payments_requests/update_virtual_card_enrollment_request.h"
#include <memory>
#include <tuple>
#include "base/feature_list.h"
#include "base/functional/callback_helpers.h"
#include "base/json/json_reader.h"
#include "base/strings/string_number_conversions.h"
#include "base/test/scoped_feature_list.h"
#include "components/autofill/core/browser/payments/virtual_card_enrollment_flow.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill::payments {
class UpdateVirtualCardEnrollmentRequestTest
: public testing::Test,
public testing::WithParamInterface<
std::tuple<VirtualCardEnrollmentRequestType,
VirtualCardEnrollmentSource>> { … };
TEST_P(UpdateVirtualCardEnrollmentRequestTest, GetRequestContent) { … }
TEST_P(UpdateVirtualCardEnrollmentRequestTest, ParseResponse) { … }
TEST_P(UpdateVirtualCardEnrollmentRequestTest,
EnrollDoesNotHaveTimeoutWithoutFlag) { … }
TEST_P(UpdateVirtualCardEnrollmentRequestTest, EnrollHasTimeoutWhenFlagSet) { … }
INSTANTIATE_TEST_SUITE_P(…);
}