### Question:
CredentialProtectionExtensionAuthenticatorOutput implements RegistrationExtensionAuthenticatorOutput { @Override public String getIdentifier() { return ID; } CredentialProtectionExtensionAuthenticatorOutput(CredentialProtectionPolicy credProtect); @Override String getIdentifier(); CredentialProtectionPolicy getCredProtect(); @Override Serializable getValue(String key); @Override void validate(); static final String ID; static final String KEY_CRED_PROTECT; }### Answer:
@Test void getIdentifier_test(){ CredentialProtectionExtensionAuthenticatorOutput target = new CredentialProtectionExtensionAuthenticatorOutput(CredentialProtectionPolicy.USER_VERIFICATION_OPTIONAL_WITH_CREDENTIAL_ID_LIST); assertThat(target.getIdentifier()).isEqualTo(CredentialProtectionExtensionAuthenticatorOutput.ID); }