*/
@Test
public void testExecutePartialOverlap()
{
final long personId = 42L;
NotificationFilterPreferenceDTO dto1 = new NotificationFilterPreferenceDTO("SMS", "FOLLOW");
NotificationFilterPreferenceDTO dto2 = new NotificationFilterPreferenceDTO("email", "LIKE");
SetUserNotificationFilterPreferencesRequest rqst = new SetUserNotificationFilterPreferencesRequest(personId,
Arrays.asList(dto1, dto2));
sut.execute(rqst);
dto1.setPersonId(personId);
dto2.setPersonId(personId);
checkAgainstDb(personId,
Arrays.asList(dto1, dto2, new NotificationFilterPreferenceDTO(personId, "email", "COMMENT")));
}