@Test
    public void shouldCoerceToConvertToShort() {
        final Integer value = 42;
        assertEquals(Short.valueOf((short) 42), NumberHelper.coerceTo(value, Short.class));
    }
@author Daniel Kuppitz (http://gremlin.guru)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/util/NumberHelperTest.java