@Test
public void callToConvertAddsMoreSupportedFormatsToTheContext() throws Exception {

    ConversionContext context = new ConversionContext.Builder(TypeLiteral.of(Float.class)).build();
    FloatConverter converter = new FloatConverter();
    converter.convert("", context);
    assertThat(context.getSupportedFormats()).contains("<float> (FloatConverter)",
            "MIN_VALUE (FloatConverter)", "MAX_VALUE (FloatConverter)");
}