public void SetUp() { _mockConverter = new Mock <IConverter>(); _mockWebClient = new Mock <IWebClient>(); _mockConfig = new Mock <IConfig>(); _ivcsService = new BusinessLayer.GitHubService(_mockConfig.Object, _mockWebClient.Object, _mockConverter.Object); }
public void SetUp() { _mockConverter = new Mock<IConverter>(); _mockWebClient = new Mock<IWebClient>(); _mockConfig = new Mock<IConfig>(); _ivcsService = new BusinessLayer.GitHubService(_mockConfig.Object, _mockWebClient.Object, _mockConverter.Object); }
public GitHubController(IVcsService <GitHubUser, GitHubRepository> ivcsService) { _ivcsService = ivcsService; }
public GitHubController(IVcsService<GitHubUser, GitHubRepository> ivcsService) { _ivcsService = ivcsService; }