@Test
public void testLongField () {

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