Logon repository info containing repo id and repo name.
 public void FilterHiddenRepos() {
     var listOfRepos = new List<LogonRepositoryInfo>();
     var visibleOne = new LogonRepositoryInfo(Guid.NewGuid().ToString(), "visible");
     var hiddenOne = new LogonRepositoryInfo(Guid.NewGuid().ToString(), "hidden");
     listOfRepos.Add(visibleOne);
     listOfRepos.Add(hiddenOne);
     var result = listOfRepos.WithoutHiddenOnce(new List<string>(new string[] { "hidden" }));
     Assert.That(result, Is.Not.Null);
     Assert.That(result, Has.Count.EqualTo(1));
     Assert.That(result.First(), Is.EqualTo(visibleOne));
 }
        public void FilterHiddenReposWithoutGivenList() {
            if (ConfigManager.CurrentConfig.HiddenRepoNames.Count == 0) {
                Assert.Ignore("non repo is hidden by default");
            }

            var listOfRepos = new List<LogonRepositoryInfo>();
            var visibleOne = new LogonRepositoryInfo(Guid.NewGuid().ToString(), Guid.NewGuid().ToString());
            var hiddenOne = new LogonRepositoryInfo(Guid.NewGuid().ToString(), ConfigManager.CurrentConfig.HiddenRepoNames.First());
            listOfRepos.Add(visibleOne);
            listOfRepos.Add(hiddenOne);
            var result = listOfRepos.WithoutHiddenOnce();
            Assert.That(result, Is.Not.Null);
            Assert.That(result, Has.Count.EqualTo(1));
            Assert.That(result.First(), Is.EqualTo(visibleOne));
        }