public void StringDictionary() { var target = new ClassWithStringDictionary { Property = new Dictionary <string, string> { { "Key1", "Value1" }, { "Key2", "Value2" } } }; var result = RoundTrip.Run(target); Assert.AreEqual("Value2", result.Property["Key2"]); }
public async Task StringDictionary() { var target = new ClassWithStringDictionary { Property = new Dictionary <string, string> { { "Key1", "Value1" }, { "Key2", "Value2" } } }; var result = await RoundTrip.Run(target); Assert.Equal("Value2", result.Property?["Key2"]); }