public void ExtendedToString_Dictionary_Test_Empty_Dictionary()
 {
     Dictionary<string, string> dict = new Dictionary<string, string>();
     string expected = CollectionsExtensions.EMPTY_DICTIONARY;
     string actual = dict.ExtendedToString();
     Assert.AreEqual(expected, actual);
 }
 public void ExtendedToString_Dictionary_Test_Null_Delimiter()
 {
     Dictionary<string, string> dict = new Dictionary<string, string>();
     dict.Add("a", "1");
     dict.Add("b", "2");
     string expected = "a: 1b: 2";
     string actual = dict.ExtendedToString(null);
     Assert.AreEqual(expected, actual);
 }
 public void ExtendedToString_Dictionary_Test_Normal_Usage_Custom_Delimiter()
 {
     Dictionary<string, string> dict = new Dictionary<string, string>();
     dict.Add("a", "1");
     dict.Add("b", "2");
     string delimiter = ",";
     string expected = "a: 1" + delimiter + "b: 2";
     string actual = dict.ExtendedToString(delimiter);
     Assert.AreEqual(expected, actual);
 }