@Test
public void addTaskQueuesAddsElementToQueue() throws InterruptedException {

	SystemTaskWorkerCoordinator.taskNameWorkflowTaskMapping.put("HTTP", Mockito.mock(WorkflowSystemTask.class));
	MetadataService metadataService = Mockito.mock(MetadataService.class);
	IsolatedTaskQueueProducer isolatedTaskQueueProducer = new IsolatedTaskQueueProducer(metadataService, Mockito.mock(Configuration.class));
	TaskDef taskDef = new TaskDef();
	taskDef.setIsolationGroupId("isolated");
	Mockito.when(metadataService.getTaskDefs()).thenReturn(Arrays.asList(taskDef));
	isolatedTaskQueueProducer.addTaskQueues();
	Assert.assertFalse(SystemTaskWorkerCoordinator.queue.isEmpty());
}