assertThat(parsed).isInstanceOf(AuditRecordsRepresentation.class);
}
@Test
public void shouldParseWithSimpleProps() throws Exception {
JSONObject json = new JSONObject("{\"auditRecordsForUserAndType\":\"for_user_type\",\"auditRecordsForUserAndApplication\":\"for_user_app\",\"auditRecordsForType\":\"for_type\",\"auditRecordsForTypeAndUserAndApplication\":\"for_type_user_app\",\"auditRecordsForTypeAndApplication\":\"for_type_app\",\"auditRecordsForApplication\":\"for_app\",\"auditRecordsForUser\":\"for_user\"}");
AuditRecordsRepresentation parsed = (AuditRecordsRepresentation) converter.fromJson(json);
assertThat(parsed.getAuditRecordsForApplication()).isEqualTo(auditRecordsForApplication);
assertThat(parsed.getAuditRecordsForType()).isEqualTo(auditRecordsForType);