private BeanDefinitionReader beanDefinitionReader;
private Application application;
public final void testProcess() {
ModuleLoaderRegistry registry = new ModuleLoaderRegistry();
AddLocationsTransitionProcessor processor = new AddLocationsTransitionProcessor(registry);
RootModuleDefinition originalSpec = SharedModuleDefinitionSources.newTest1().getModuleDefinition();
RootModuleDefinition newSpec = SharedModuleDefinitionSources.newTest1a().getModuleDefinition();
ClassLoader classLoader = ClassUtils.getDefaultClassLoader();
moduleStateHolder = createMock(DefaultModuleStateHolder.class);
context = createMock(ConfigurableApplicationContext.class);
moduleLoader = createMock(SpringModuleLoader.class);
beanDefinitionReader = createMock(BeanDefinitionReader.class);
application = TestApplicationManager.newApplicationManager(null, moduleStateHolder, null).getCurrentApplication();
registry.addItem(originalSpec.getType(), moduleLoader);
Resource[] resources1 = new Resource[]{ new FileSystemResource("r1")};
Resource[] resources2 = new Resource[]{ new FileSystemResource("r1"), new FileSystemResource("r2")};
Resource[] resources3 = new Resource[]{ new FileSystemResource("r2")};