public void FromCurrentWorker_instancesAreTheSameTest()
        {
            TaskShedulerWraper synchronizationContextTaskShedulerWraper = TaskShedulerWraper.Create();
            TaskScheduler      taskSheduler1 = synchronizationContextTaskShedulerWraper.FromCurrentWorker();
            TaskScheduler      taskSheduler2 = synchronizationContextTaskShedulerWraper.FromCurrentWorker();

            Assert.IsTrue(Object.ReferenceEquals(taskSheduler1, taskSheduler2));
            Assert.IsTrue(Object.ReferenceEquals(synchronizationContextTaskShedulerWraper.Sheduler, taskSheduler1));
        }
        public void FromCurrentWorkerTest()
        {
            TaskShedulerWraper synchronizationContextTaskShedulerWraper = TaskShedulerWraper.Create();
            TaskScheduler      taskSheduler = synchronizationContextTaskShedulerWraper.FromCurrentWorker();

            Assert.IsNotNull(taskSheduler);
        }