DEV Community

Discussion on: Introduction to ASP.NET Core Integration Testing

Collapse
kaos profile image
Kai Oswald Author

It doesn't, but there's a neat utility class for Collections called CollectionAssert which I just found that does that!

So the code could be cut to:

CollectionAssert.AreEqual(expectedResponse, actualResponse);