Пример #1
0
 public RegisteredUsers(GitLabWrapper gitLabWrapper, DXVcsWrapper vcsWrapper)
 {
     this.gitLabWrapper = gitLabWrapper;
     ADUsers            = ADWrapper.GetUsers().ToDictionary(x => x.UserName, new UserNameEqualityComparer());
     Users         = CreateGitLabUsers().ToDictionary(x => x.UserName, new UserNameEqualityComparer());
     this.VcsUsers = vcsWrapper.GetUsers().ToList();
 }
Пример #2
0
        public void SearchADUsers()
        {
            var dict = ADWrapper.GetUsers().ToDictionary(x => x.UserName);
            var user = dict["litvinov"];

            Assert.IsNotNull(user.Email);
        }