CalibrationTimeouts { public void writeToCSV(Path csv, int numberOfDuration) { Objects.requireNonNull(csv, "The csv file can't be null."); CSV.write(csv, calibrationTimeouts, numberOfDuration); } CalibrationTimeouts();  CalibrationTimeouts(ArrayList<CalibrationTimeout> calibrationTimeouts, String nameOfProperties, String nameOfCSV);  CalibrationTimeouts(String nameOfProperties, String nameOfCSV);  CalibrationTimeouts(ArrayList<CalibrationTimeout> calibrationTimeouts); void addCalibrationTimeout(CalibrationTimeout calibrationTimeout); CalibrationTimeout getCalibrationTimeout(String key); HashMap<String, CalibrationTimeout> getAllCalibrationTimeouts(); HashMap<String, CalibrationTimeout> getAllNonRedundantTimeouts(); void writeAllCalibrationTimeoutsToProperties(); void writeToCSV(Path csv, int numberOfDuration); void writeToCSV(); void clean();  }
@Test public void testWriteToCSV() throws Exception { CalibrationTimeout calibrationTimeout = new CalibrationTimeout("ode", "deploy", "maven", 20_000, 2_000); calibrationTimeouts.addCalibrationTimeout(calibrationTimeout); calibrationTimeouts.writeToCSV(); assertTrue("The csv file should exist.", testCsv.exists()); }