@Test
public void testNullSafeEquals() {

    assertTrue(CompareUtil.nullSafeEquals(1, 1));
    assertFalse(CompareUtil.nullSafeEquals(1, 2));
    assertFalse(CompareUtil.nullSafeEquals(1, null));
    assertFalse(CompareUtil.nullSafeEquals(null, 1));
    assertTrue(CompareUtil.nullSafeEquals(null, null));
}