示例#1
0
 public void TestCleanup()
 {
     _prVm = null;
     _vm.Dispose();
     _vm  = null;
     _mgr = null;
 }
示例#2
0
        public void TestInit()
        {
            ServiceContainer.Instance.ClearAllServices();
            ServiceContainer.Instance.AddService <IMessageBoxService>(new MockMessageBoxService());
            _mgr = new MockDomeManager();

            _vm   = new DomeMotionViewModel(_mgr);
            _prVm = new PrivateObject(_vm);

            Globals.UISyncContext = TaskScheduler.Default;
        }