assertThat(parsed.getChanges()).isNull();
}
@Test
public void shouldParseWithChanges() throws Exception {
JSONObject json = new JSONObject("{\"user\":\"us\",\"severity\":\"sever\",\"application\":\"app\",\"changes\":[],\"activity\":\"activity\"}");
AuditRecordRepresentation parsed = (AuditRecordRepresentation) converter.fromJson(json);
assertThat(parsed.getUser()).isEqualTo(user);
assertThat(parsed.getSeverity()).isEqualTo(severity);