@Test
public void shouldParseWithSimpleProps() throws Exception {
JSONObject json = new JSONObject("{\"creationTime\":\"2001-01-01T00:00:01.0Z\",\"status\":\"some_status\",\"deviceId\":\"deviceId\",\"failureReason\":\"some_failure_reason\",\"id\":\"testid\"}");
OperationRepresentation parsed = (OperationRepresentation) converter.fromJson(json);
assertThat(parsed.getId()).isEqualTo(id);
assertThat(parsed.getDeviceId()).isEqualTo(deviceId);
assertThat(parsed.getStatus()).isEqualTo(status);
assertThat(parsed.getFailureReason()).isEqualTo(failureReason);
assertThat(parsed.getCreationTime()).isEqualTo(creationTime);
}