@Test
void apk_key_hash_convert_clientDataBase64UrlString() {

    String clientDataJson = "{\n" +
            "  \"type\": \"webauthn.create\",\n" +
            "  \"challenge\": \"AAABcXKin1fLrZx0o4RL64fs-RUVSxCu\",\n" +
            "  \"origin\": \"android:apk-key-hash:pNiP5iKyQ8JwgGOaKA1zGPUPJIS00H1xKCQcfIoGLck\",\n" +
            "  \"androidPackageName\": \"com.myrpid.app\"\n" +
            "}";
    String clientDataBase64UrlString = Base64UrlUtil.encodeToString(clientDataJson.getBytes(StandardCharsets.UTF_8));
    CollectedClientData collectedClientData = target.convert(clientDataBase64UrlString);
    assertAll(
            () -> assertThat(collectedClientData.getType()).isEqualTo(ClientDataType.CREATE),
            () -> assertThat(collectedClientData.getTokenBinding()).isNull(),
            () -> assertThat(collectedClientData.getChallenge()).isEqualTo(new DefaultChallenge("AAABcXKin1fLrZx0o4RL64fs-RUVSxCu")),
            () -> assertThat(collectedClientData.getOrigin()).isEqualTo(new Origin("android:apk-key-hash:pNiP5iKyQ8JwgGOaKA1zGPUPJIS00H1xKCQcfIoGLck"))
    );
}