public void ViewModel_ValidateExecuteErrorLoading()
        {
            SelectBranchPlanViewModel vm = new SelectBranchPlanViewModel();
            MockTeamExplorer mockTE = new MockTeamExplorer();
            MockEngine engine = new MockEngine();
            MockPlanCatalog mockPlanCataog = new MockPlanCatalog();
            vm.Load(mockTE, mockPlanCataog, null);

            Task t = vm.ExecuteJob();
            t.Wait();

            Assert.AreEqual(vm.JobProgress, 100.0);
            Assert.AreEqual(vm.JobCurrentOperation, "Error: \nObject reference not set to an instance of an object.\n   at Microsoft.ALMRangers.BranchTool.VSExtension.ViewModels.SelectBranchPlanViewModel.<>c__DisplayClass5.<ExecuteJob>b__1(Task param0) in c:\\Src_Rangers\\BranchTool\\code\\TfsBranchToolVSExtension\\ViewModels\\SelectBranchPlanViewModel.cs:line 268");
        }
        public void ViewModel_ValidateExecute()
        {
            SelectBranchPlanViewModel vm = new SelectBranchPlanViewModel();
            MockTeamExplorer mockTE = new MockTeamExplorer();
            MockEngine engine = new MockEngine();
            MockPlanCatalog mockPlanCataog = new MockPlanCatalog();
            vm.Load(mockTE, mockPlanCataog, engine);

            vm.ExecuteJob();
        }