JvmInitializers { public static void runOnStartup() { for (JvmInitializer initializer : ReflectHelpers.loadServicesOrdered(JvmInitializer.class)) { initializer.onStartup(); } }  static void runOnStartup(); static void runBeforeProcessing(PipelineOptions options);  }
@Test public void runOnStartup_runsInitializers() { JvmInitializers.runOnStartup(); assertTrue(onStartupRan); }