@Test
public void testIntField () {

    Assert.assertTrue(ConfigFieldValidation.isIntAndInRange(0, Integer.MIN_VALUE, Integer.MAX_VALUE));
    Assert.assertFalse(ConfigFieldValidation.isIntAndInRange(null, Integer.MIN_VALUE, Integer.MAX_VALUE));
    Assert.assertFalse(ConfigFieldValidation.isIntAndInRange(Integer.MIN_VALUE, Integer.MIN_VALUE + 1, Integer.MAX_VALUE));
    Assert.assertFalse(ConfigFieldValidation.isIntAndInRange(Integer.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE - 1));
}