### Question:
KeysListPostResponsePublicKey { public String getPublicKey() { return publicKey; } @JsonCreator  KeysListPostResponsePublicKey(@JsonProperty("id") String id,
                                         @JsonProperty("public_key") String publicKey,
                                         @JsonProperty("date_created") Date created,
                                         @JsonProperty("date_expires") Date expires,
                                         @JsonProperty("active") boolean active); String getId(); String getPublicKey(); Date getCreated(); Date getExpires(); boolean isActive();  }### Answer:
@Test public void getPublicKey() throws Exception { assertEquals("key", new KeysListPostResponsePublicKey(null, "key", null, null, false).getPublicKey()); }
@Test public void fromJsonGetsProperPublicKey() throws Exception { assertEquals("Expected PK", objectMapper.readValue("{\"public_key\": \"Expected PK\"}", KeysListPostResponsePublicKey.class) .getPublicKey()); }