context.mock(Configuration.class, "conf2"));
final Module moduleDummy = context.mock(Module.class);
final IvySettings ivySettingsDummy = context.mock(IvySettings.class);
final DefaultModuleDescriptor moduleDescriptorDummy = context.mock(DefaultModuleDescriptor.class);
final ArtifactsToModuleDescriptorConverter artifactsToModuleDescriptorConverter = context.mock(ArtifactsToModuleDescriptorConverter.class);
final ModuleDescriptorConverter resolveModuleDescriptorConverter = context.mock(ModuleDescriptorConverter.class);
PublishModuleDescriptorConverter publishModuleDescriptorConverter = new PublishModuleDescriptorConverter(
resolveModuleDescriptorConverter,
artifactsToModuleDescriptorConverter);
context.checking(new Expectations() {{