binder.bind(ConfigurationNameMapper.class).to(
DefaultConfigurationNameMapper.class);
}
};
ProjectUpgrader_V6 upgrader = new ProjectUpgrader_V6();
Injector injector = DIBootstrap.createInjector(testModule);
injector.injectMembers(upgrader);
Resource source = new URLResource(targetsBefore.get(0).toURL());
UpgradeHandler handler = upgrader.getUpgradeHandler(source);
Resource upgraded = handler.performUpgrade();
assertNotNull(upgraded);
assertNotSame(source, upgrader);