@Test
public void testLoadCustomizersFallback() {

    CamelContext context = new DefaultCamelContext();
    context.getRegistry().bind("converters", (ContextCustomizer)camelContext -> camelContext.setLoadTypeConverters(true));
    List<ContextCustomizer> customizers = RuntimeSupport.configureContextCustomizers(context);
    assertThat(context.getName()).isNotEqualTo("from-registry");
    assertThat(context.getName()).isNotEqualTo("default");
    assertThat(context.isLoadTypeConverters()).isFalse();
    assertThat(customizers).hasSize(0);
    Properties properties = new Properties();
    properties.setProperty("customizer.name.enabled", "true");
    context.getPropertiesComponent().setInitialProperties(properties);
    customizers = RuntimeSupport.configureContextCustomizers(context);
    assertThat(context.getName()).isEqualTo("default");
    assertThat(customizers).hasSize(1);
    properties.setProperty("customizer.converters.enabled", "true");
    properties.setProperty("customizer.converters.enabled", "true");
    context.getPropertiesComponent().setInitialProperties(properties);
    customizers = RuntimeSupport.configureContextCustomizers(context);
    assertThat(context.getName()).isEqualTo("default");
    assertThat(context.isLoadTypeConverters()).isTrue();
    assertThat(customizers).hasSize(2);
}