### Question:
FloatPropertyConverter extends AbstractPropertyConverter { @Override public boolean supports(Class<?> type) { return float.class.isAssignableFrom(type) || Float.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(float.class), is(true)); }
@Test public void testSupportsWrapper() throws Exception { assertThat(converter.supports(Float.class), is(true)); }