public void IntStringDictionary() { var target = new ClassWithIntStringDictionary { Property = new Dictionary <int, string> { { 1, "Value1" }, { 2, "Value2" } } }; var result = RoundTrip.Run(target); Assert.AreEqual("Value2", result.Property[2]); }
public async Task IntStringDictionary() { var target = new ClassWithIntStringDictionary { Property = new Dictionary <int, string> { { 1, "Value1" }, { 2, "Value2" } } }; var result = await RoundTrip.Run(target); Assert.Equal("Value2", result.Property?[2]); }