public SchedulerViewModelForTest(IServer env, IEventAggregator eventPublisher, DirectoryObjectPickerDialog directoryObjectPicker, IPopupController popupController, IAsyncWorker asyncWorker)
     : base(eventPublisher, directoryObjectPicker, popupController, asyncWorker, new Mock <IServer>().Object, a => new Mock <IServer>().Object)
 {
     SchedulerTaskManager = new ScheduleTaskManagerStub(env, this, System.Threading.Tasks.Task.FromResult(new Mock <IResourcePickerDialog>().Object));
 }
 public SchedulerViewModelForTest(IServer env) : base(a => env)
 {
     SchedulerTaskManager = new ScheduleTaskManagerStub(env, this, System.Threading.Tasks.Task.FromResult(new Mock <IResourcePickerDialog>().Object));
 }