@Test
public void shouldParseWithSimpleProps() throws Exception {
JSONObject json = new JSONObject("{\"type\":\"some_type\",\"creationTime\":\"2001-01-01T00:00:01.0Z\",\"time\":\"2001-01-01T00:00:01.0Z\",\"text\":\"sample text\",\"id\":\"testid\"}");
EventRepresentation parsed = (EventRepresentation) converter.fromJson(json);
assertThat(parsed.getId()).isEqualTo(id);
assertThat(parsed.getType()).isEqualTo(type);
assertThat(parsed.getTime()).isEqualTo(time);
assertThat(parsed.getCreationTime()).isEqualTo(time);
assertThat(parsed.getText()).isEqualTo(text);
}