CalibrationTimeouts { public void clean() { calibrationTimeouts = new ArrayList<>(); } 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 testClean() throws Exception { CalibrationTimeout calibrationTimeout = new CalibrationTimeout("ode", "deploy", "maven", 20_000, 2_000); calibrationTimeouts.addCalibrationTimeout(calibrationTimeout); calibrationTimeouts.clean(); assertEquals("After cleaning there shouldn't be values.", 0, calibrationTimeouts.getAllCalibrationTimeouts().size()); }