@Test
public void callToConvertAddsMoreSupportedFormatsToTheContext() throws Exception {

    ConversionContext context = new ConversionContext.Builder(TypeLiteral.of(Path.class)).build();
    PathConverter converter = new PathConverter();
    converter.convert("notempty", context);
    assertThat(context.getSupportedFormats()).contains("<File> (PathConverter)");
}