diff --git a/tests/SendGrid.Tests/Integration.cs b/tests/SendGrid.Tests/Integration.cs index c3f706fc5..7fe217baa 100644 --- a/tests/SendGrid.Tests/Integration.cs +++ b/tests/SendGrid.Tests/Integration.cs @@ -342,6 +342,14 @@ public void TestKitchenSinkIsUnaffectedByCustomContractResolver() try { TestKitchenSink(); + + // Ensure default behavior is not broken + var testObject = new + { + PropertyName = "PropertyValue", + Dictionary = new Dictionary { { "DictionaryKey", "DictionaryValue" } } + }; + Assert.Equal("{\"propertyName\":\"PropertyValue\",\"dictionary\":{\"dictionaryKey\":\"DictionaryValue\"}}", JsonConvert.SerializeObject(testObject)); } finally {