OSGiModelRuntime { @Deactivate void deactivate() { LOG.info("Model Runtime stopping"); moduleRegistry.close(); bundleTracker.close(); LOG.info("Model Runtime stopped"); }    }
@Test public void testDeactivate() { testActivate(); doNothing().when(bundleContext).removeBundleListener(any()); target.deactivate(); }