### Question:
IntegerTime implements Time { @Override public String toString() { return Integer.valueOf(this.time).toString(); } IntegerTime();  IntegerTime(int time); @Override boolean equals(Time t); @Override int hashCode(); @Override boolean equals(Object obj); @Override void increment(); @Override void setTime(Time t); @Override String toString(); @Override Time clone(); @Override boolean greaterThan(Time t); @Override int intValue();  }### Answer:
@Test public void testToString() { Integer n = Integer.valueOf(rand.nextInt()); Time t1 = new IntegerTime(n); assertEquals(t1.toString(), n.toString()); }