}
}
assertEquals(0, expectedResultFileNameSet.size());
+ translatedZipFile.delete();
}
private File translateZipFile(String basePath, HeatToToscaTranslator heatToToscaTranslator) throws IOException {
.withId("Validation Error").withCategory(ErrorCategory.APPLICATION).build());
}
- File file = new File(path + "/VSP.zip");
- file.createNewFile();
+ File file = File.createTempFile("VSP", "zip");
try (FileOutputStream fos = new FileOutputStream(file)) {
ToscaFileOutputService toscaFileOutputService = new ToscaFileOutputServiceCsarImpl();