I have 3 methods that should return the same data. The data is a list of MyObjectModel
and I want to check that the three lists contain the same data. I thought of serializing each of the 3 lists in json and calculating if the length of the strings are all the same.
Is there a better approach?
Thanks.