3 writes to NestedObject
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (3)
IntegrationTests\NestedObjectIntegrationTest.cs (2)
66NestedObject = new NestedObject() { StringProperty = "A" } 85NestedObject = new NestedObject() { StringProperty = "B" }
TestObjectModels\SimpleObjectWithNestedObject.cs (1)
24NestedObject = new NestedObject();
6 references to NestedObject
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (6)
IntegrationTests\NestedObjectIntegrationTest.cs (6)
48patchDocument.Replace(o => o.NestedObject, newNested); 57Assert.Equal("B", targetObject.NestedObject.StringProperty); 73patchDocument.ApplyTo(targetObject.NestedObject); 76Assert.Equal("A", targetObject.NestedObject.StringProperty); 90patchDocument.Test(o => o.NestedObject, testNested); 96Assert.Equal("B", targetObject.NestedObject.StringProperty);