### Question:
PublicV3PublicKeyGetResponse { public String getPublicKey() { return publicKey; } PublicV3PublicKeyGetResponse(String publicKey, String publicKeyFingerprint); String getPublicKey(); String getPublicKeyFingerprint(); final String publicKey; final String publicKeyFingerprint; }### Answer:
@Test public void publicKeyGetter() throws Exception { String publicKey = "-----BEGIN PUBLIC KEY-----\n" + "MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALPHw4M3S8LTwngk+KxzQCXrru6wI1ZJ\n" + "evG0xc4iclQ3CUA38IMqD9o8nC6FXUeDdNLcBbVISDRi9X0OWc9hNn0CAwEAAQ==\n" + "-----END PUBLIC KEY-----"; assertEquals(publicKey, new PublicV3PublicKeyGetResponse(publicKey, null).getPublicKey()); }