### Question:
ServiceKeysPostRequest { @JsonProperty("date_expires") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd'T'HH:mm:ss'Z'") public Date getExpires() { return expires; } ServiceKeysPostRequest(UUID serviceId, String publicKey, Date expires, Boolean active); @JsonProperty("service_id") UUID getServiceId(); @JsonProperty("public_key") String getPublicKey(); @JsonProperty("date_expires") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd'T'HH:mm:ss'Z'") Date getExpires(); @JsonProperty("active") Boolean isActive();  }### Answer:
@Test public void getExpires() throws Exception { Date date = new Date(0L); assertEquals(date, new ServiceKeysPostRequest(null, null, date, false).getExpires()); }