ShortWrapperDeserializer extends PrimitiveDeserializer<Short> { public Short deserialize(String value) { return isBlank(value) ? null : valueOf(value); }  Short deserialize(String value);  }
@Test public void shouldDeserializeToShort() throws Exception { assertEquals(Short.valueOf((short)-1), deserialize(toTest, "-1")); }
@Test public void shouldDeserializeNullToNull() throws Exception { assertNull(deserialize(toTest, null)); }