AuthenticationExtensionsAuthenticatorInputs implements Serializable { @JsonIgnore public CredentialProtectionPolicy getCredProtect(){ return this.credProtect; }  @JsonIgnore Set<String> getKeys(); @JsonIgnore Set<String> getUnknownKeys(); @JsonIgnore Object getValue(String key); @JsonIgnore Boolean getUvm(); @JsonIgnore CredentialProtectionPolicy getCredProtect(); @SuppressWarnings("unchecked") E getExtension(Class<E> tClass); @Override boolean equals(Object o); @Override int hashCode();  }
@Test void deserialize_registration_test(){ AuthenticationExtensionsAuthenticatorInputs<RegistrationExtensionAuthenticatorInput> instance = cborConverter.readValue(HexUtil.decode("BF6B6372656450726F7465637401FF"), new TypeReference<AuthenticationExtensionsAuthenticatorInputs<RegistrationExtensionAuthenticatorInput>>() {}); assertThat(instance.getCredProtect()).isEqualTo(CredentialProtectionPolicy.USER_VERIFICATION_OPTIONAL); }