public void Setup() { createCloneGit = Substitute.For<ICreateCloneGit>(); createBareGit = Substitute.For<ICreateBareGit>(); openFolder = Substitute.For<IOpenFolder>(); if (Directory.Exists(PathProjectName)) Directory.Delete(PathProjectName, true); migrationOrchestrator = new MigrationOrchestrator(createCloneGit, createBareGit, openFolder); }
public IndexController(INavigator navigator, MigrationOrchestrator migrationOrchestrator) { this.navigator = navigator; this.migrationOrchestrator = migrationOrchestrator; }