public TestTaskScheduler(TaskScheduler taskScheduler) { this.taskScheduler = taskScheduler.AsDynamic(); }