public void ManagePackage_TwoProjectsSelectedAndUserAcceptsSelectedProjects_MessagesReportedPreviouslyAreCleared()
        {
            CreateViewModelWithTwoProjectsSelected("Project A", "Project B");
            UserAcceptsProjectSelection();

            viewModel.ManagePackage();

            Assert.IsTrue(fakePackageManagementEvents.IsOnPackageOperationsStartingCalled);
        }
        public void ManagePackage_TwoProjectsNeitherSelectedAndSourceRepositoryIsOperationAware_InstallOperationStarted()
        {
            CreateViewModelWithTwoProjectsSelected("Project A", "Project B");
            UserAcceptsProjectSelection();
            var operationAwareRepository = new FakeOperationAwarePackageRepository();

            fakePackage.FakePackageRepository = operationAwareRepository;
            fakePackage.Id = "MyPackage";

            viewModel.ManagePackage();

            operationAwareRepository.AssertOperationWasStartedAndDisposed(RepositoryOperationNames.Install, "MyPackage");
        }