You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came across a post of yours about testing utility classes, which I found very helpfull, but did refactor. I've also read EqualsTestUtil.java. I have this implemented as a abstract class with default test. In stead of calling one assert, two methods needs to over written T getObject() and T getDifferentObject(), with an optional T getIdenticalObject() that by defaults call T getObject(). This makes the test more atomic and allows to test for multiple things in one run. This is my suggestion for you to do also.
Activity