void CreateViewModel(FakePackageManagementSolution fakeSolution)
 {
     viewModel                   = new TestableUpdatedPackageViewModel(fakeSolution);
     fakeProject                 = fakeSolution.FakeProjectToReturnFromGetProject;
     fakeActionRunner            = viewModel.FakeActionRunner;
     fakePackageManagementEvents = viewModel.FakePackageManagementEvents;
 }
 void CreateViewModel(FakePackageManagementSolution fakeSolution)
 {
     viewModelParent             = MockRepository.GenerateStub <IPackageViewModelParent>();
     viewModel                   = new TestableUpdatedPackageViewModel(viewModelParent, fakeSolution);
     fakeProject                 = fakeSolution.FakeProjectToReturnFromGetProject;
     fakeActionRunner            = viewModel.FakeActionRunner;
     fakePackageManagementEvents = viewModel.FakePackageManagementEvents;
 }
 void CreateViewModel()
 {
     viewModel = new TestableUpdatedPackageViewModel();
     fakePackageManagementService = viewModel.FakePackageManagementService;
     sourcePackageRepository      = viewModel.FakeSourcePackageRepository;
 }