I have two objects
A is actual result I get during JUnit test. Object
B is I do a actual end db call and assume as expected review. I need to assert that two object instances
B are equal in value and not actual object.
We have a method called
assertEquals(obj expected, obj actual) in JUnit but I don't want that way.
Is there a way or workaround to achieve the same?