@Test
public void callToConvertAddsMoreSupportedFormatsToTheContext() throws Exception {

    ConversionContext context = new ConversionContext.Builder(TypeLiteral.of(Duration.class)).build();
    DurationConverter converter = new DurationConverter();
    converter.convert("", context);
    assertThat(context.getSupportedFormats()).contains("PT20M34S (DurationConverter)");
}