void SetUpTwoPackageSourcesAndViewModelHasReadPackages()
 {
     CreatePackageManagementService();
     AddTwoPackageSourcesToRegisteredSources();
     CreateViewModel(packageManagementService);
     packageManagementService.ActivePackageSource = packageManagementService.Options.PackageSources[0];
     viewModel.ReadPackages();
     CompleteReadPackagesTask();
     CreateNewActiveRepositoryWithDifferentPackages();
 }
 void SetUpTwoPackageSourcesAndViewModelHasReadPackages()
 {
     CreateRegisteredPackageRepositories();
     AddTwoPackageSourcesToRegisteredSources();
     CreateViewModel(registeredPackageRepositories);
     registeredPackageRepositories.ActivePackageSource = registeredPackageRepositories.PackageSources[0];
     viewModel.ReadPackages();
     CompleteReadPackagesTask();
     CreateNewActiveRepositoryWithDifferentPackages();
 }