public void Can_ExecuteProcedureTask() { var countTasks = new List <Task <IAdoParameter[]> >(); var spNames = new string[] { "CustOrderHist", "CustOrderHist", "CustOrderHist" }; foreach (var spName in spNames) { var task = NorthwindAdoRepository.ExecuteProcedureAsync(spName, CustomerTestParameter); countTasks.Add(task); } Task.WaitAll(countTasks.ToArray()); countTasks.All(t => t.IsCompleted).Should().Be.True(); foreach (var task in countTasks) { if (IsDebugEnabled) { log.Debug("Results= " + task.Result.CollectionToString()); } } }