@Test
public void testCompareTo() {

    assertEquals(0, object().compareTo(object()));
    assertEquals(0, object().compareTo(equalObject()));
    assertTrue(object().compareTo(differentObject()) < 0);
    assertTrue(differentObject().compareTo(object()) > 0);
}