@Test
public void testIsIntegerValue() {

    assertTrue(Numeric.isIntegerValue(BigDecimal.ZERO));
    assertTrue(Numeric.isIntegerValue(BigDecimal.ZERO));
    assertTrue(Numeric.isIntegerValue(BigDecimal.valueOf(Long.MAX_VALUE)));
    assertTrue(Numeric.isIntegerValue(BigDecimal.valueOf(Long.MIN_VALUE)));
    assertTrue(Numeric.isIntegerValue(new BigDecimal(
            "9999999999999999999999999999999999999999999999999999999999999999.0")));
    assertTrue(Numeric.isIntegerValue(new BigDecimal(
            "-9999999999999999999999999999999999999999999999999999999999999999.0")));
    assertFalse(Numeric.isIntegerValue(BigDecimal.valueOf(0.1)));
    assertFalse(Numeric.isIntegerValue(BigDecimal.valueOf(-0.1)));
    assertFalse(Numeric.isIntegerValue(BigDecimal.valueOf(1.1)));
    assertFalse(Numeric.isIntegerValue(BigDecimal.valueOf(-1.1)));
}