CalibrationTimeout extends Timeout { public String getCalibrationTimeoutKey(){ return getKey() + '.' + timestamp; } CalibrationTimeout(String engineOrProcess, String stepOrProcess, String description, int value, int timeToRepetition);  CalibrationTimeout(String engineOrProcess, String stepOrProcess, String description, int value, int timeToRepetition, int measuredTime);  CalibrationTimeout(String engineOrProcess, String stepOrProcess, int value, int timeToRepetition);  CalibrationTimeout(String engineOrProcess, String stepOrProcess, String description, int value);  CalibrationTimeout(String engineOrProcess, String stepOrProcess, int value);  CalibrationTimeout(Timeout timeout);  CalibrationTimeout(Timeout timeout, int measuredTime); Status getStatus(); void setStatus(Status status); String getCalibrationTimeoutKey(); long getTimestamp(); int getMeasuredTime(); void setMeasuredTime(int measuredTime);  }
@Test public void testGetCalibrationTimeoutKey() throws Exception{ CalibrationTimeout calibrationTimeout = new CalibrationTimeout(new Timeout(engine, step, value)); assertEquals("The keys should be equal.", calibrationTimeout.getKey() + "." + calibrationTimeout.getTimestamp(), calibrationTimeout.getCalibrationTimeoutKey()); }