UnloadTransitionProcessor unloadTransitionProcessor = new UnloadTransitionProcessor();
transitionProcessors.addItem(Transition.UNLOADED_TO_LOADED, loadTransitionProcessor);
transitionProcessors.addItem(Transition.LOADED_TO_UNLOADED, unloadTransitionProcessor);
transitionManager.setTransitionProcessorRegistry(transitionProcessors);
ApplicationManager applicationManager = TestApplicationManager.newApplicationManager(new ModuleClassLoaderRegistry(), moduleStateHolder, new DelegatingServiceRegistry());
Application application = applicationManager.getCurrentApplication();
RootModuleDefinition test1Definition = newTest1().getModuleDefinition();
ModificationExtractor calculator = new StrictModificationExtractor();
TransitionSet transitions = calculator.getTransitions(application, null, test1Definition);