// verify that the module in the default cache doesn't exist
assertEquals("Default cache is not empty", _cache.list().length, 0);
// verify the artifact does exist in the non-default cache.
CacheManager nonDefaultManager = _ivy.getCacheManager(cache2);
assertTrue(TestHelper.getArchiveFileInCache(nonDefaultManager, "org1", "mod1.1", "1.0", "mod1.1", "jar", "jar").exists());
assertTrue(nonDefaultManager.getResolvedIvyFileInCache(resolvedModule).exists());
assertTrue(nonDefaultManager.getResolvedIvyPropertiesInCache(resolvedModule).exists());
assertNotNull(nonDefaultManager.getSavedArtifactOrigin((Artifact) report.getArtifacts().get(0)));
} finally {
// delete the non-default cache
Delete del = new Delete();
del.setProject(new Project());
del.setDir(new File("build/cache2"));