@Test
public void customTypeWithFactoryMethodOfIsRecognizedAsSupported() {

    ServiceContext serviceContext = ServiceContextManager.getServiceContext(getClass().getClassLoader());
    PropertyConverterManager manager = new PropertyConverterManager(serviceContext, true);
    assertThat(manager.isTargetTypeSupported(TypeLiteral.of(MyType.class)))
            .isTrue();
}