@Test
public void scheduledTaskIdFilter(){

	IdmScheduledTaskDto d = getHelper().createSchedulableTask();
	IdmProcessedTaskItemDto item = service.saveInternal(getHelper().prepareProcessedItem(d));
	IdmProcessedTaskItemDto item2 = service.saveInternal(getHelper().prepareProcessedItem(d));
	//
	IdmProcessedTaskItemFilter filter = new IdmProcessedTaskItemFilter();
	filter.setScheduledTaskId(d.getId());
	Page<IdmProcessedTaskItemDto> result = service.find(filter,null);
	assertEquals("Wrong number of items!", 2, result.getTotalElements());
	assertTrue(result.getContent().contains(item));
	assertTrue(result.getContent().contains(item2));
}