### Question:
ServicesPostResponse { public UUID getId() { return id; } @JsonCreator  ServicesPostResponse(@JsonProperty("id") UUID id); UUID getId();  }### Answer:
@Test public void getId() throws Exception { UUID id = UUID.randomUUID(); assertEquals(id, new ServicesPostResponse(id).getId()); }
@Test public void fromJSON() throws Exception { UUID id = UUID.randomUUID(); ServicesPostResponse read = new ObjectMapper() .readValue("{\"id\": \"" + id.toString() + "\"}", ServicesPostResponse.class); assertEquals(id, read.getId()); }