CredentialProtectionExtensionClientInput implements RegistrationExtensionClientInput { @Override public String getIdentifier() { return ID; } CredentialProtectionExtensionClientInput(
            CredentialProtectionPolicy credentialProtectionPolicy, Boolean enforceCredentialProtectionPolicy);  CredentialProtectionExtensionClientInput(CredentialProtectionPolicy credentialProtectionPolicy); @Override String getIdentifier(); CredentialProtectionPolicy getCredentialProtectionPolicy(); Boolean getEnforceCredentialProtectionPolicy(); @Override Serializable getValue(String key); @Override void validate(); static final String ID; static final String KEY_CREDENTIAL_PROTECTION_POLICY; static final String KEY_ENFORCE_CREDENTIAL_PROTECTION_POLICY; }
@Test void getIdentifier_test(){ CredentialProtectionExtensionClientInput target = new CredentialProtectionExtensionClientInput(CredentialProtectionPolicy.USER_VERIFICATION_OPTIONAL_WITH_CREDENTIAL_ID_LIST, true); assertThat(target.getIdentifier()).isEqualTo(CredentialProtectionExtensionClientInput.ID); }