public GithubControllerTest() { //Arrange mock_gitHubViewModel = new Mock <GitHubViewModel>(); mock_gitHubRepoService = new Mock <IGitHubRepoService>(); githubControllerUnderTest = new GithubController(mock_gitHubRepoService.Object, mock_gitHubViewModel.Object); }
private async void CheckUpdateAsync() { IsUpdateAvailable = await GithubController.CheckForUpdateAsync(); }
public Api2Tests() { interestController = new DividaController(new Divida(config, new Juros(config))); githubController = new GithubController(new Github()); }
public GithubControllerTest() { _githubController = new GithubController(); }