"should not have exploded this");
assertFalse(new File(DEPLOY_DIR, "archived-subdir").isDirectory(), "should not still have the exploded dir");
DeploymentsMetadata dm = new DeploymentsMetadata(DEPLOY_DIR);
if (!dryRun) {
FileHashcodeMap fhm = dm.getCurrentDeploymentFileHashcodes();
assertFalse(fhm.containsKey("archived-bundle-file.txt"),
"should not have metadata - this is inside the compressed zip");
assertFalse(fhm.containsKey("archived-subdir/archived-file-in-subdir.properties"),
"should not have metadata - this is inside the compressed zip");
assertTrue(fhm.containsKey("file.zip"),
String
.valueOf("should have metadata for this - we didn't explode it, we just have this compressed file"));
// test that we created the zip OK. Note that our test did not do any file replacing/realization of templates
final String[] templateVarValue = new String[1];