public void testPublish() throws IOException, ParseException {
final IvySettings ivySettingsDummy = new IvySettings();
final Set<Configuration> configurations = createConfigurations();
final File someDescriptorDestination = new File("somePath");
final List<DependencyResolver> publishResolversDummy = createPublishResolversDummy();
final Module moduleDummy = context.mock(Module.class, "moduleForResolve");
File cacheParentDirDummy = createCacheParentDirDummy();
final DefaultIvyService ivyService = createIvyService();
setUpForPublish(configurations, publishResolversDummy, moduleDummy, cacheParentDirDummy,
ivyService, ivySettingsDummy);