@Test
public void convertNumbersIntoPrimitiveShort() {

    assertEquals((short) 10, (short) TypeUtils.convertValue(Short.TYPE, Byte.valueOf("10")));
    assertEquals((short) 10, (short) TypeUtils.convertValue(Short.TYPE, Short.valueOf("10")));
    assertEquals((short) 10, (short) TypeUtils.convertValue(Short.TYPE, Integer.valueOf("10")));
    assertEquals((short) 10, (short) TypeUtils.convertValue(Short.TYPE, Long.valueOf("10")));
    assertEquals((short) 10, (short) TypeUtils.convertValue(Short.TYPE, Float.valueOf("10")));
    assertEquals((short) 10, (short) TypeUtils.convertValue(Short.TYPE, Double.valueOf("10")));
    assertEquals((short) 10, (short) TypeUtils.convertValue(Short.TYPE, new BigInteger("10")));
    assertEquals((short) 10, (short) TypeUtils.convertValue(Short.TYPE, new BigDecimal("10")));
}