protected override CheckForUpdatesProgressMonitor CreateProgressMonitor( IPackageManagementProgressMonitorFactory progressMonitorFactory, IPackageManagementEvents packageManagementEvents) { ProgressMonitorCreated = new TestableCheckForUpdatesProgressMonitor(progressMonitorFactory, packageManagementEvents); return(ProgressMonitorCreated); }
void CreateProgressMonitor() { progressMonitorFactory = new FakeProgressMonitorFactory(); fakeProgressMonitor = progressMonitorFactory.ProgressMonitor; packageEvents = new PackageManagementEvents(); progressMonitor = new TestableCheckForUpdatesProgressMonitor(progressMonitorFactory, packageEvents); }