12 references to Customer
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (12)
NewtonsoftJsonPatchInputFormatterTest.cs (12)
43
var formatterContext = CreateInputFormatterContext(typeof(JsonPatchDocument<
Customer
>), httpContext);
50
var patchDocument = Assert.IsType<JsonPatchDocument<
Customer
>>(result.Model);
80
var formatterContext = CreateInputFormatterContext(typeof(JsonPatchDocument<
Customer
>), httpContext);
90
var patchDocument = Assert.IsType<JsonPatchDocument<
Customer
>>(result.Model);
113
var formatterContext = CreateInputFormatterContext(typeof(JsonPatchDocument<
Customer
>), httpContext);
120
var patchDocument = Assert.IsType<JsonPatchDocument<
Customer
>>(result.Model);
137
var formatterContext = CreateInputFormatterContext(typeof(JsonPatchDocument<
Customer
>), httpContext);
144
var patchDocument = Assert.IsType<JsonPatchDocument<
Customer
>>(result.Model);
166
var formatterContext = CreateInputFormatterContext(typeof(JsonPatchDocument<
Customer
>), httpContext);
176
[InlineData(typeof(
Customer
))]
203
$"'{typeof(
Customer
).FullName}' because the type requires a JSON object ";
212
var formatterContext = CreateInputFormatterContext(typeof(
Customer
), httpContext);