Esempio n. 1
0
            public void Should_Set_User_Name(string userName)
            {
                // When
                var credentials = new TfsAadCredentials(userName, "bar");

                // Then
                credentials.UserName.ShouldBe(userName);
            }
Esempio n. 2
0
            public void Should_Set_Password_Name(string password)
            {
                // When
                var credentials = new TfsAadCredentials("foo", password);

                // Then
                credentials.Password.ShouldBe(password);
            }
Esempio n. 3
0
            public void Should_Return_Aad_Credentials()
            {
                // Given
                var credentials = new TfsAadCredentials("foo", "bar");

                // When
                var result = credentials.ToVssCredentials();

                // Then
                result.ShouldNotBeNull();
            }