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 MigrationOrchestrator(ICreateCloneGit createCloneGit, ICreateBareGit createBareGit, IOpenFolder openFolder) { this.createCloneGit = createCloneGit; this.createBareGit = createBareGit; this.openFolder = openFolder; }