25 references to Customers
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (25)
Internal\ObjectVisitorTest.cs (25)
35nestedModel.Customers.Add(new Class1()); 36yield return new object[] { nestedModel, "/Customers/0/States/-", nestedModel.Customers[0].States }; 37yield return new object[] { nestedModel, "/Customers/0/States/0", nestedModel.Customers[0].States }; 38yield return new object[] { nestedModel.Customers, "/0/States/-", nestedModel.Customers[0].States }; 39yield return new object[] { nestedModel.Customers[0], "/States/-", nestedModel.Customers[0].States }; 69nestedModel.Customers.Add(new Class1()); 70yield return new object[] { nestedModel, "/Customers/0/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions }; 71yield return new object[] { nestedModel.Customers, "/0/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions }; 72yield return new object[] { nestedModel.Customers[0], "/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions }; 99nestedModel.Customers.Add(new Class1()); 100yield return new object[] { nestedModel, "/Customers/0/Items/Name", nestedModel.Customers[0].Items }; 101yield return new object[] { nestedModel.Customers, "/0/Items/Name", nestedModel.Customers[0].Items }; 102yield return new object[] { nestedModel.Customers[0], "/Items/Name", nestedModel.Customers[0].Items }; 114nestedModel.Customers.Add(new Class1()); 115yield return new object[] { nestedModel, "/Customers/0/Name", nestedModel.Customers[0] }; 116yield return new object[] { nestedModel.Customers, "/0/Name", nestedModel.Customers[0] }; 117yield return new object[] { nestedModel.Customers[0], "/Name", nestedModel.Customers[0] };