public void InspectionFormatter_Formats_ExtendedDictionaryEmpty() { var dictionary = new ExtendedDictionaryTest(); var formatter = new InspectionFormatter(dictionary); Assert.AreEqual(@"ExtendedDictionaryTest [Dictionary] {}", formatter.ToString()); }
public void InspectionFormatter_Formats_ExtendedDictionaryPopulated() { var dictionary = new ExtendedDictionaryTest { { 1, 4 }, { 6, 12 } }; var formatter = new InspectionFormatter(dictionary); Assert.AreEqual(@"ExtendedDictionaryTest [Dictionary] { 1 => 4, 6 => 12 }", formatter.ToString()); }