public async void CallsListLoaderWhenUpdatedByUser()
        {
            // Arrange
            var repoListViewModel = new RepoListPageViewModel(_loader, _listLoader, _progressService,
                _navigationService,
                _repoService);

            // Act
            await repoListViewModel.UpdateReposCommand.Execute();

            // Assert
            Mock.Get(_loader).Verify(moq => moq.LoadAsync(It.IsAny<Func<CancellationToken, Task>>()), Times.Never);
            Mock.Get(_listLoader).Verify(moq => moq.LoadAsync(It.IsAny<Func<CancellationToken, Task>>()), Times.Once);
        }
        public void CallsBaseLoaderWhenNavigated()
        {
            // Arrange
            var repoListViewModel = new RepoListPageViewModel(_loader, _listLoader, _progressService,
                _navigationService,
                _repoService);

            // Act
            repoListViewModel.OnNavigatedTo(null);

            // Assert
            Mock.Get(_loader).Verify(moq => moq.LoadAsync(It.IsAny<Func<CancellationToken, Task>>()), Times.Once);
            Mock.Get(_listLoader).Verify(moq => moq.LoadAsync(It.IsAny<Func<CancellationToken, Task>>()), Times.Never);
        }
        public async void IssuesListIsNavigatedWithCorrectRepoParam()
        {
            // Arrange
            var repoListViewModel = new RepoListPageViewModel(_loader, _listLoader, _progressService,
                _navigationService,
                _repoService);
            var repo = Mock.Of<IRepo>(moq => moq.Name == "name" && moq.Path == "path");

            // Act
            await repoListViewModel.OpenRepoCommand.Execute(repo);

            // Assert
            Mock.Get(_navigationService).Verify(moq => moq.Navigate<IssueListPageViewModel>(
                new NavigationParameters {{Constants.RepoParameterName, repo}}, false, true), Times.Once);
        }
        public void RepoListContainsAllReposLoaded()
        {
            // Arrange
            var repoListViewModel = new RepoListPageViewModel(_loader, _listLoader, _progressService,
                _navigationService,
                _repoService);

            // Act
            repoListViewModel.OnNavigatedTo(null);

            // Assert
            Assert.AreEqual(_repoList, repoListViewModel.Repos);
        }