@Test void providesCollectorComponent_whenEnabled() {
    TestPropertyValues.of("zipkin.collector.scribe.enabled:true").applyTo(context);
    refreshContext();

    assertThat(context.getBean(ScribeCollector.class)).isNotNull();
  }
Note: this will flake if you happen to be running a server on port 9410!
zipkin-server/src/test/java/zipkin2/collector/scribe/ZipkinScribeCollectorConfigurationTest.java