public void refreshContext() {
    context.register(
      PropertyPlaceholderAutoConfiguration.class,
      ZipkinScribeCollectorConfiguration.class,
      InMemoryConfiguration.class);
    context.refresh();
  }
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