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