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