bundleFiles.put(bundleFile2, new File(tmpDir, bundleFile2));
bundleFiles.put(bundleFile3, new File(tmpDir, bundleFile3));
File bundleDistroFile = tmpDir; // not a real distro zip, but its just a simulation anyway - SLSB will pass this to our mock PC
String recipe = "mock recipe";
BundleType bt1 = createBundleType("one");
// prepare our mock bundle PC
bpc.parseRecipe_returnValue = new RecipeParseResults(bundleMetadata, configDef, new HashSet<String>(
bundleFiles.keySet()));
bpc.processBundleDistributionFile_returnValue = new BundleDistributionInfo(recipe,
bpc.parseRecipe_returnValue, bundleFiles);
bpc.processBundleDistributionFile_returnValue.setBundleTypeName(bt1.getName());
// now ask the SLSB to persist our bundle data given our mock distribution
BundleVersion bv1 = bundleManager.createBundleVersionViaURL(overlord, bundleDistroFile.toURI().toURL()
.toString());