public void Should_Set_User_Name(string userName) { // When var credentials = new TfsAadCredentials(userName, "bar"); // Then credentials.UserName.ShouldBe(userName); }
public void Should_Set_Password_Name(string password) { // When var credentials = new TfsAadCredentials("foo", password); // Then credentials.Password.ShouldBe(password); }
public void Should_Return_Aad_Credentials() { // Given var credentials = new TfsAadCredentials("foo", "bar"); // When var result = credentials.ToVssCredentials(); // Then result.ShouldNotBeNull(); }