1 write to Reviews
FormatterWebSite (1)
Controllers\JsonPatchController.cs (1)
36
Reviews
= new List<Review>()
17 references to Reviews
Microsoft.AspNetCore.Mvc.FunctionalTests (17)
JsonPatchInputFormatterTest.cs (17)
48
Assert.NotNull(product.
Reviews
);
49
Assert.Equal(3, product.
Reviews
.Count);
50
Assert.Equal(3.5, product.
Reviews
[2].Rating);
68
Assert.NotNull(product.
Reviews
);
69
Assert.Equal(2, product.
Reviews
.Count);
70
Assert.Equal(5, product.
Reviews
[0].Rating);
88
Assert.NotNull(product.
Reviews
);
89
Assert.Equal(2, product.
Reviews
.Count);
90
Assert.Equal(4, product.
Reviews
[1].Rating);
91
Assert.Equal(4, product.
Reviews
[0].Rating);
109
Assert.NotNull(product.
Reviews
);
110
Assert.Equal(2, product.
Reviews
.Count);
111
Assert.Equal(4, product.
Reviews
[1].Rating);
112
Assert.Equal(0, product.
Reviews
[0].Rating);
130
Assert.NotNull(product.
Reviews
);
131
Assert.Equal(2, product.
Reviews
.Count);
132
Assert.Equal(0, product.
Reviews
[0].Rating);