package com.x8bit.bitwarden.data.autofill.fido2.model

import android.content.pm.SigningInfo

/**
 * Creates a mock [Fido2CreateCredentialRequest] with a given [number].
 */
fun createMockFido2CreateCredentialRequest(
    number: Int,
    origin: String? = null,
    signingInfo: SigningInfo = SigningInfo(),
): Fido2CreateCredentialRequest =
    Fido2CreateCredentialRequest(
        userId = "mockUserId-$number",
        requestJson = """{"request": {"number": $number}}""",
        packageName = "com.x8bit.bitwarden",
        signingInfo = signingInfo,
        origin = origin,
        isUserVerified = true,
    )
