### Question:
MessageTemplate { public String getExpression() { return expression; } @JsonCreator  MessageTemplate(@JsonProperty("expression") final String expression); String getExpression(); @Override String toString();  }### Answer:
@Test public void testDeserialization() throws Exception { final MessageTemplate template = readObjectFromResource("/notification/template.json", MessageTemplate.class); assertThat(template.getExpression(), is("test message")); }