@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);
assertThat(parsed.getAuditRecordsForTypeAndApplication()).isEqualTo(auditRecordsForTypeAndApplication);
assertThat(parsed.getAuditRecordsForTypeAndUserAndApplication()).isEqualTo(auditRecordsForTypeAndUserAndApplication);
assertThat(parsed.getAuditRecordsForUser()).isEqualTo(auditRecordsForUser);
assertThat(parsed.getAuditRecordsForUserAndApplication()).isEqualTo(auditRecordsForUserAndApplication);
assertThat(parsed.getAuditRecordsForUserAndType()).isEqualTo(auditRecordsForUserAndType);
}