@Test
public void testShortField () {

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