setupTestData();
queryResource = new QueryResourceImpl();
IdentityProvider mockIdProvider = mock(IdentityProvider.class);
when(mockIdProvider.getName()).thenReturn(USER_ID);
queryResource.setIdentityProvider(mockIdProvider);
ProcessRequestBean processRequestBean = new ProcessRequestBean();
UserTaskServiceImpl userTaskService = new UserTaskServiceImpl();
userTaskService.setNonProcessScopedTaskService((InternalTaskService) taskService);