#include <memory>
#include "base/functional/callback_helpers.h"
#include "base/json/json_reader.h"
#include "components/autofill/core/browser/payments/payments_requests/get_details_for_enrollment_request.h"
#include "components/autofill/core/browser/payments/virtual_card_enrollment_flow.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill::payments {
class GetDetailsForEnrollmentRequestTest
: public testing::Test,
public testing::WithParamInterface<VirtualCardEnrollmentSource> { … };
TEST_P(GetDetailsForEnrollmentRequestTest, GetRequestContent) { … }
TEST_P(GetDetailsForEnrollmentRequestTest, ParseResponse) { … }
INSTANTIATE_TEST_SUITE_P(…);
}