### Question:
OSGIKettleLifecycleListener implements KettleLifecycleListener { @Override public void onEnvironmentShutdown() { OSGIPluginRegistryExtension.getInstance().getKarafBoot().shutdown(); }  static void setDoneInitializing(); @Override void onEnvironmentInit(); @Override void onEnvironmentShutdown();  }### Answer:
@Test public void testOnEnvironmentShutdownNoop() { new OSGIPluginRegistryExtension(); new OSGIKettleLifecycleListener().onEnvironmentShutdown(); }