PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity { public String getId() { return id; } @JsonCreator  PublicKeyCredentialRpEntity(
            @JsonProperty("id") String id,
            @JsonProperty("name") String name,
            @JsonProperty("icon") String icon);  PublicKeyCredentialRpEntity(String id, String name);  PublicKeyCredentialRpEntity(String name); String getId(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test void constructor_test() { PublicKeyCredentialRpEntity rpEntity = new PublicKeyCredentialRpEntity("localhost", "name"); assertAll( () -> assertThat(rpEntity.getId()).isEqualTo("localhost"), () -> assertThat(rpEntity.getName()).isEqualTo("name"), () -> assertThat(rpEntity.getIcon()).isNull() ); }
@Test void single_arg_constructor_test() { PublicKeyCredentialRpEntity rpEntity = new PublicKeyCredentialRpEntity("name"); assertAll( () -> assertThat(rpEntity.getId()).isNull(), () -> assertThat(rpEntity.getName()).isEqualTo("name"), () -> assertThat(rpEntity.getIcon()).isNull() ); }
@Test void getter_test() { PublicKeyCredentialRpEntity rpEntity = new PublicKeyCredentialRpEntity("localhost", "name", "icon"); assertAll( () -> assertThat(rpEntity.getId()).isEqualTo("localhost"), () -> assertThat(rpEntity.getName()).isEqualTo("name"), () -> assertThat(rpEntity.getIcon()).isEqualTo("icon") ); }