}
//test happy path without filtering param for RESTIoService.getIoAssociations(...)
public void testGetIoAssociationsNoQParam() throws Exception {
RESTIoService restService = new RESTIoService();
TaskDefinitionService taskService = EasyMock.createMock(TaskDefinitionService.class);
List<TaskRef> tasks = new ArrayList<TaskRef>();
tasks.add(new TaskRef());
tasks.add(new TaskRef());
EasyMock.expect(taskService.query(EasyMock.eq("somePackage"), EasyMock.eq(""))).andReturn(tasks).once();
restService.setTaskService(taskService);
ServletContext context = EasyMock.createMock(ServletContext.class);
EasyMock.replay(taskService, context);
Response resp = restService.getIoAssociations(null, "somePackage", context);