void CreateViewModel (FakeRegisteredPackageRepositories registeredPackageRepositories)
		{
			taskFactory = new FakeTaskFactory ();
			var packageViewModelFactory = new FakePackageViewModelFactory ();
			recentPackageRepository = new FakeRecentPackageRepository ();

			viewModel = new AvailablePackagesViewModel (
				registeredPackageRepositories,
				recentPackageRepository,
				packageViewModelFactory,
				taskFactory);
		}
		AvailablePackagesViewModel CreateViewModelParent ()
		{
			var taskFactory = new FakeTaskFactory ();
			var registeredPackageRepositories = new FakeRegisteredPackageRepositories ();
			var packageViewModelFactory = new FakePackageViewModelFactory ();
			var recentPackageRepository = new FakeRecentPackageRepository ();

			return new AvailablePackagesViewModel (
				registeredPackageRepositories,
				recentPackageRepository,
				packageViewModelFactory,
				taskFactory);
		}
		void CreateViewModel (
			FakeRegisteredPackageRepositories registeredPackageRepositories,
			FakePackageManagementSolution solution)
		{
			taskFactory = new FakeTaskFactory ();
			var packageViewModelFactory = new FakePackageViewModelFactory ();
			recentPackageRepository = new FakeRecentPackageRepository ();


			viewModel = new AvailablePackagesViewModel (
				solution,
				registeredPackageRepositories,
				recentPackageRepository,
				packageViewModelFactory,
				taskFactory);
		}