### Question:
RegistryMgtUIActivitiesServiceComponent { @Deactivate protected void deactivate(ComponentContext context) { if (activityServiceRegistration != null) { activityServiceRegistration.unregister(); activityServiceRegistration = null; } log.debug("******* Registry Activity UI Management bundle is deactivated ******* "); }    }### Answer:
@Test public void deactivate() throws Exception { ComponentContext context = mock(ComponentContext.class); RegistryMgtUIActivitiesServiceComponent component = new RegistryMgtUIActivitiesServiceComponent(); component.deactivate(context); }