### Question:
EmailConfiguration implements Configuration { public String getTo() { return to; } @JsonCreator  EmailConfiguration(@JsonProperty("to") final String to); String getTo(); @Override String toString();  }### Answer:
@Test public void testDeserialization() throws Exception { final EmailConfiguration emailConfiguration = readObjectFromResource("/notification/emailConfiguration.json", EmailConfiguration.class); assertThat(emailConfiguration.getTo(), is("fake@gooddata.com")); }