public FormBrowseController(IGitGpgController gitGpgController, IRepositoryCurrentBranchNameProvider repositoryCurrentBranchNameProvider, IInvalidRepositoryRemover invalidRepositoryRemover) { _gitGpgController = gitGpgController; _repositoryCurrentBranchNameProvider = repositoryCurrentBranchNameProvider; _invalidRepositoryRemover = invalidRepositoryRemover; }
public void Setup() { _gitGpgController = Substitute.For <IGitGpgController>(); _repositoryCurrentBranchNameProvider = Substitute.For <IRepositoryCurrentBranchNameProvider>(); _invalidRepositoryRemover = Substitute.For <IInvalidRepositoryRemover>(); _controller = new FormBrowseController(_gitGpgController, _repositoryCurrentBranchNameProvider, _invalidRepositoryRemover); }
public FormBrowseController(IGitGpgController gitGpgController) { _gitGpgController = gitGpgController; }