public void EnqueuedWorkItems_It_Should_Return_The_Pending_WorkItemList()
        {
            //ARRANGE
            var counter       = 0;
            var expectedValue = "0123";
            var value         = string.Empty;
            var items         = new WorkItem <string>[]
            {
                new WorkItem <string>(() => (counter++).ToString())
                , new WorkItem <string>(() => (counter++).ToString())
                , new WorkItem <string>(() => (counter++).ToString())
                , new WorkItem <string>(() => (counter++).ToString())
            };

            sch.EnqueueWork(items);

            //ACT
            Task.WaitAll(items.Select(i => i.Task).ToArray());

            //ASSERT
            items.All(i => expectedValue.Contains(i.Result)).Should().BeTrue();
        }