@Test
public void callToConvertAddsMoreSupportedFormatsToTheContext() throws Exception {

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