Originally posted by bart zagers:
The message is just a reference that is printed when the test fails. There are no special options and it has nothing to do with the actual test.
Or am I misinterpreting the question?
Nope, works for me. So I was doing..
Assert.assertTrue(obj1.compareTo(obj2) == 0);
Is there any advantage/disadvantage to this over Jeanne's suggestion?