-Refactor

This commit is contained in:
James Newton-King
2016-11-27 13:58:21 +13:00
parent 5269ce81c0
commit be8ca7a870
2 changed files with 14 additions and 13 deletions
@@ -9799,6 +9799,9 @@ Path '', line 1, position 1.");
[Test]
public void ChildClassWithProtectedOverridePlusJsonProperty_Serialize()
{
JsonObjectContract c = (JsonObjectContract)DefaultContractResolver.Instance.ResolveContract(typeof(ChildClassWithProtectedOverridePlusJsonProperty));
Assert.AreEqual(1, c.Properties.Count);
var propertyValue = "test";
var testJson = @"{ 'MyProperty' : '" + propertyValue + "' }";