assertEquals(8L, rqst.getPersonId());
List<NotificationFilterPreferenceDTO> list = (List<NotificationFilterPreferenceDTO>) rqst.getPrefList();
assertEquals(2, list.size());
// the two DTOs we expect must be present, but the person id can either be empty or set to the right value
assertTrue(Matchers.hasItem(equalInternally(new NotificationFilterPreferenceDTO(8L, "EMAIL", "FOLLOW")))
.matches(list)
|| Matchers.hasItem(equalInternally(new NotificationFilterPreferenceDTO("EMAIL", "FOLLOW"))).matches(
list));
assertTrue(Matchers.hasItem(equalInternally(new NotificationFilterPreferenceDTO(8L, "INAPP", "FOLLOW")))
.matches(list)
|| Matchers.hasItem(equalInternally(new NotificationFilterPreferenceDTO("INAPP", "FOLLOW"))).matches(
list));
// assertEquals(8L, list.get(0).getPersonId());
// assertEquals("FOLLOW", list.get(0).getNotificationCategory());
// assertEquals("EMAIL", list.get(0).getNotifierType());