@Test
public void testGetExecutionConfigForSystemTask() {

    System.setProperty("workflow.system.task.worker.thread.count", "5");
    Configuration configuration = new SystemPropertiesConfiguration();
    systemTaskExecutor = new SystemTaskExecutor(queueDAO, workflowExecutor, configuration, executionService);
    assertEquals(systemTaskExecutor.getExecutionConfig("").getSemaphoreUtil().availableSlots(), 5);
}