@Test
public void testGetWorklfowsMultipleCorrelationId() {

    Workflow workflow = new Workflow();
    workflow.setCorrelationId("c123");
    List<Workflow> workflowArrayList = new ArrayList<Workflow>() {{
        add(workflow);
    }};
    List<String> correlationIdList = new ArrayList<String>() {{
        add("c123");
    }};
    Map<String, List<Workflow>> workflowMap = new HashMap<>();
    workflowMap.put("c123", workflowArrayList);
    when(mockWorkflowService.getWorkflows(anyString(), anyBoolean(), anyBoolean(), anyList()))
            .thenReturn(workflowMap);
    assertEquals(workflowMap, workflowResource.getWorkflows("test", true,
            true, correlationIdList));
}