// mod4.1 v 4.5 depends on
// - mod1.2 v 1+ and forces it
// - mod3.1 v 1.2 which depends on mod1.2 v 2+
Ivy ivy = new Ivy();
ivy.configure(new File("test/repositories/ivysettings-artifact-lock.xml"));
ivy.resolve(new File("test/repositories/2/mod4.1/ivy-4.5.xml"),
getResolveOptions(new String[] {"*"}));
List lockFiles = new ArrayList();
findLockFiles(cache, lockFiles);
assertTrue("There were lockfiles left in the cache: " + lockFiles, lockFiles.isEmpty());