### Question:
TimeZoneAdjustment implements Cloneable { @Override public String toString() { if (adjustments.isEmpty()) return ""; StringBuilder bldr = new StringBuilder("z="); for (Adjustment adj : adjustments) bldr.append(adj).append(" "); bldr.delete(bldr.length() - 1, bldr.length()); bldr.append("\r\n"); return bldr.toString(); } TimeZoneAdjustment(); List<Adjustment> getAdjustments(); @Override String toString(); @Override TimeZoneAdjustment clone(); static TimeZoneAdjustment parse(String line);  }### Answer:
@Test public void testToString() { System.out.println("SDP time zone adjustment toString test..."); TimeZoneAdjustment tza = new TimeZoneAdjustment(); tza.getAdjustments().add(new TimeZoneAdjustment.Adjustment(1, 2)); assertEquals("z=1 2\r\n", tza.toString()); tza.getAdjustments().add(new TimeZoneAdjustment.Adjustment(3, 4)); assertEquals("z=1 2 3 4\r\n", tza.toString()); }