public void ManagePackagesForSelectedProjects_FirstProjectSelectedAndExceptionThrownWhenCreatingInstallAction_ExceptionLogged()
        {
            CreateViewModel();
            CreateTwoFakeSelectedProjects();
            FirstFakeSelectedProject.IsSelected = true;
            var exceptionThrowingProject = new ExceptionThrowingPackageManagementProject();

            FirstFakeSelectedProject.FakeProject = exceptionThrowingProject;
            AddFakeInstallPackageOperationWithPackageThatDoesNotRequireLicenseAcceptance(FirstFakeSelectedProject);

            var exception = new Exception("Exception error message");

            exceptionThrowingProject.ExceptionToThrowWhenCreateInstallPackageActionCalled = exception;
            viewModel.ManagePackagesForSelectedProjects(fakeSelectedProjects);

            bool contains = fakeLogger.FormattedMessagesLoggedContainsText("Exception error message");

            Assert.IsTrue(contains);
        }