protected void equalTest(T a, T b) throws AssertionError {
        JunitCompat.assertEquals(a + " must be compared equal to " + b, 0, a.compareTo(b));
    }
TotalOrderTester implements a total order test for OrderTester

Usage:
<code>
new TotalOrderTester&lt;Integer&gt;()
     .theseObjects(3, 3)
     .areLessThan(4)
     .areLessThan(5)
     .areLessThan(6)
     .testOrdering();
</code>

@author Vegard Sjonfjell
testutil/src/main/java/com/yahoo/test/TotalOrderTester.java