Is there any good framework for comparing whole objects?
now i do
assertEquals("ha@gmail.com", obj.email);
assertEquals("5", obj.shop);
if bad email is returned i never get to know if it had the right shop, i would like to get a list of incorrect fields.
this has helped me with that
How to test for equality of complex object graphs?