@Test
public void testHashCode() throws Exception {

    assertEquals (Objects.hashCode(-1), new LWM2MID(null).hashCode());
    assertEquals (Objects.hashCode(42), new LWM2MID("42").hashCode());
    assertEquals (Objects.hashCode(new LWM2MID("alma").intValue()), new LWM2MID("alma").hashCode());
}