void CreateRunner() { fakeConsoleActionRunner = new FakePackageActionRunner(); powerShellDetection = new FakePowerShellDetection(); fakeEvents = new FakePackageManagementEvents(); fakeActions = new List<FakeInstallPackageAction>(); runner = new PackageActionRunner(fakeConsoleActionRunner, fakeEvents, powerShellDetection); }
void CreateProvider() { fakeSolution = new FakePackageManagementSolution(); fakeRegisteredRepositories = new FakeRegisteredPackageRepositories(); fakePowerShellDetection = new FakePowerShellDetection(); provider = new PackageManagementConsoleHostProvider( fakeSolution, fakeRegisteredRepositories, fakePowerShellDetection); }