public void CanSerializeCustomGenericIDictionary() { var dictionary = new MyGenericIDictionary { { "Key1", "value1" }, { "Key2", "value2" }, }; this.AssertSerializesAndRoundTrips(dictionary); }
public void CanSerializeCustomGenericIDictionary() { var dictionary = new MyGenericIDictionary { { "Key1", "value1" }, { "Key2", "value2" }, }; SerializationTestHelper.Object(dictionary).RoundTrips(ExpectJson); }