TransitionSet transitions = facade.getModificationExtractorRegistry()
.getModificationExtractor(ModificationExtractorType.STICKY).getTransitions(null, null, moduleDefinition);
ModuleStateHolder moduleStateHolder = facade.getApplicationManager().getCurrentApplication().getModuleStateHolder();
TransitionManager transitionManager = facade.getTransitionManager();
ApplicationManager applicationManager = facade.getApplicationManager();
Application application = applicationManager.getCurrentApplication();
transitionManager.processTransitions(moduleStateHolder, application, transitions);
ModuleManagementOperations operations = (ModuleManagementOperations) facade.getBean("moduleManagementOperations");
assertEquals("Could not find module duff", operations.reloadModule("duff"));
assertEquals("Successfully reloaded sample-module1", operations.reloadModule(plugin1));