### Question:
ShortPropertyConverter extends AbstractPropertyConverter { @Override public boolean supports(Class<?> type) { return short.class.isAssignableFrom(type) || Short.class.isAssignableFrom(type); }  @Override boolean supports(Class<?> type); @Override Object convert(String value, Context context);  }### Answer:
@Test public void testSupportsPrimitive() throws Exception { assertThat(converter.supports(short.class), is(true)); }
@Test public void testSupportsWrapper() throws Exception { assertThat(converter.supports(Short.class), is(true)); }