public void GetUrl_NullOrEmpty(string attribute) { var PartBTags = AzMonList.Initialize(); AzMonList.Add(ref PartBTags, new KeyValuePair <string, object>(attribute, null)); PartBTags.GenerateUrlAndAuthority(out var url, out var urlAuthority); Assert.Null(url); Assert.Null(urlAuthority); AzMonList.Clear(ref PartBTags); AzMonList.Add(ref PartBTags, new KeyValuePair <string, object>(attribute, string.Empty)); PartBTags.GenerateUrlAndAuthority(out url, out urlAuthority); Assert.Null(url); Assert.Null(urlAuthority); }