-Refactor
This commit is contained in:
@@ -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 + "' }";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user