public void testExtendingTaskQueryListWithCandidateGroups() {
TaskQuery query = taskService.createTaskQuery();
List<String> candidateGroups = new ArrayList<String>();
candidateGroups.add("accounting");
query.taskCandidateGroupIn(candidateGroups);
saveQuery(query);
List<Task> tasks = filterService.list(filter.getId());
assertEquals(1, tasks.size());