@Test
public void testCompareTo() throws Exception {

    assertEquals(0, new LWM2MID(null).compareTo(new LWM2MID(null)));
    assertEquals(-1, new LWM2MID(null).compareTo(new LWM2MID("alma")));
    assertEquals(1, new LWM2MID("alma").compareTo(new LWM2MID(null)));
    assertEquals(-10, new LWM2MID("alma").compareTo(new LWM2MID("korte")));
    assertEquals(10, new LWM2MID("korte").compareTo(new LWM2MID("alma")));
}