public void IsValid_WithEmptyPassword_ReturnsFalse(string username, string password) { var credentials = new PackageSourceCredential("source", username, password, isPasswordClearText: false); Assert.False(credentials.IsValid()); }
public void IsValid_WithNonEmptyValues_ReturnsTrue() { var credentials = new PackageSourceCredential("source", "user", "password", isPasswordClearText: false); Assert.True(credentials.IsValid()); }