### Question:
KeysListPostResponsePublicKey { public boolean isActive() { return active; } @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 isActive() throws Exception { assertTrue(new KeysListPostResponsePublicKey(null, null, null, null, true).isActive()); }
@Test public void fromJsonGetsProperActive() throws Exception { assertTrue(objectMapper.readValue("{\"active\": true}", KeysListPostResponsePublicKey.class).isActive()); }