@Test
public void testFindByIdentityRecipient() {

	IdmNotificationRecipientDto recipentOne = createDto();
	createDto(); // other
	//
	IdmNotificationRecipientFilter filter = new IdmNotificationRecipientFilter();
	filter.setIdentityRecipient(recipentOne.getIdentityRecipient());
	List<IdmNotificationRecipientDto> attachments = find(filter);
	Assert.assertEquals(1, attachments.size());
	Assert.assertTrue(attachments.stream().anyMatch(r -> r.getId().equals(recipentOne.getId())));
}