### Question:
ShortPropertyConverter extends AbstractPropertyConverter { @Override public Object convert(String value, Context context) { return Short.valueOf(value); }  @Override boolean supports(Class<?> type); @Override Object convert(String value, Context context);  }### Answer:
@Test public void testConvert() throws Exception { assertThat((Short) converter.convert( Short.toString(Short.MIN_VALUE), null), is(equalTo(Short.MIN_VALUE))); assertThat((Short) converter.convert("0", null), is(equalTo((short) 0))); assertThat((Short) converter.convert( Short.toString(Short.MAX_VALUE), null), is(equalTo(Short.MAX_VALUE))); }